divanov11 / crash-course-CRM

Django customer management platform
575 stars 733 forks source link

ValueError at / The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead. #4

Closed stromal closed 3 years ago

stromal commented 4 years ago

ValueError at / The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead.

https://stackoverflow.com/questions/61026338/sqlite-to-postgresql-not-migrates-django-3-0

bharathjinka09 commented 4 years ago

Hi, I am also facing the same issue. R u able to solve this?

stromal commented 4 years ago

bharathjinka09 this was the answer for me https://stackoverflow.com/a/61129748/10270590

Akashno commented 3 years ago

inside the decorator you should return something inside of the wrapper function : like: return HttpResponse('you are not authorised to view this page')