Django error 'WSGIRequest' object has no attribute 'request'

前端 未结 0 1941
北海茫月
北海茫月 2021-01-14 09:09

i made function of delete a student, it works but
messages.info(self.request, student.name + \' blah blah blah \', extra_tags=\'danger\') in views.py makes an error,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题