Changes between Version 2 and Version 3 of Ticket #30432
- Timestamp:
- May 2, 2019, 8:53:34 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30432 – Description
v2 v3 4 4 5 5 6 urlpatterns = [ 7 ... 8 path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'), 9 ] 6 urlpatterns = [...,path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),...] 10 7 11 8 I haven't yet created the ForgottenPassword class based view yet, so rightly the server throws the error: 12 9 13 10 File "/code/accounts/urls.py", line 19, in <module> 14 11 path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'), 15 12 NameError: name 'ForgottenPassword' is not defined 16 13 17 14 The server then quits however. This is not the desired behavior. I expect the server to remain in an error state until i fix the error (this happened up to about a week ago). It was around the same time that we upgraded from django 2.1 to 2.2, is this a desired behaviour in 2.2? 15 16 * Having downgraded to 2.1 we no longer have this problem, it must be to do with the update