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

前端 未结 0 1622
面向向阳花
面向向阳花 2021-01-14 09:04

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,

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