Changes between Version 2 and Version 3 of Ticket #30432


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30432 – Description

    v2 v3  
    44
    55
    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'),...]
    107
    118I haven't yet created the ForgottenPassword class based view yet, so rightly the server throws the error:
    129
    1310  File "/code/accounts/urls.py", line 19, in <module>
    14     path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
     11  path('forgotten-password', ForgottenPassword.as_view(), name='forgotten_password'),
    1512  NameError: name 'ForgottenPassword' is not defined
    1613
    1714The 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
Back to Top