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
# docker compose exec -it web python manage.py shell
...
(InteractiveConsole)
>>> from users.models.password_reset import PasswordResetStates, PasswordReset
>>> t = PasswordReset.objects.last()
>>> t
<PasswordReset: PasswordReset object (27)>
>>> t.state
'sent'
>>> PasswordResetStates().handle_new(t)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/code.py", line 90, in runcode
exec(code, self.locals)
File "<console>", line 1, in <module>
File "/takahe/users/models/password_reset.py", line 26, in handle_new
subject=f"{Config.system.site_name}: Confirm new account",
^^^^^^^^^^^^^
AttributeError: type object 'Config' has no attribute 'system'
>>> from core.models import Config
>>> Config.system
Traceback (most recent call last):
File "/usr/local/lib/python3.11/code.py", line 90, in runcode
exec(code, self.locals)
File "<console>", line 1, in <module>
AttributeError: type object 'Config' has no attribute 'system'
The text was updated successfully, but these errors were encountered:
Intentando depurar #9, me volvió a pasar esto:
The text was updated successfully, but these errors were encountered: