No problem when testing on localhost server, but when deployed to heroku, it reports this problem. And the reason turns out to that for Http404, you should raise it instead of return it:
except UserDomainURL.DoesNotExist:
raise Http404
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment