Changes between Version 1 and Version 2 of Ticket #30432


Ignore:
Timestamp:
May 2, 2019, 8:46:22 AM (6 years ago)
Author:
User632716
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30432 – Description

    v1 v2  
    44
    55
    6     urlpatterns = [
    7         ...
    8         path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
    9     ]
     6  urlpatterns = [
     7    ...
     8    path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
     9  ]
    1010
    1111I haven't yet created the ForgottenPassword class based view yet, so rightly the server throws the error:
    1212
    13     File "/code/accounts/urls.py", line 19, in <module>
    14         path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
    15     NameError: name 'ForgottenPassword' is not defined
     13  File "/code/accounts/urls.py", line 19, in <module>
     14    path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
     15  NameError: name 'ForgottenPassword' is not defined
    1616
    1717The 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?
Back to Top