You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
same block is present in pre-refactorin lectures, starting with Part 04, and up to including Part 10.
obviously, 'user', being a regular variable, doesn't have the DoesNotExist on it. If we replace the lower-case 'user' with, say, Customer (after we've created the class), the error goes away. Python being so dyamic and lenient is a double-edged sword )
The text was updated successfully, but these errors were encountered:
This is the block we have here in account/views.py:
same block is present in pre-refactorin lectures, starting with Part 04, and up to including Part 10.
obviously, 'user', being a regular variable, doesn't have the DoesNotExist on it. If we replace the lower-case 'user' with, say, Customer (after we've created the class), the error goes away. Python being so dyamic and lenient is a double-edged sword )
The text was updated successfully, but these errors were encountered: