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
The wiki mention using shell_plus to give superuser privileges to an user however calling python manage.py shell_plus fails with: ModuleNotFoundError: No module named 'blessings'.
Installing blessings with pip inside the container fixes the issue. A simpler option is calling shell_plus with --plain. A third option is to use the default shell:
python manage.py shell
>>> from profiles.models import User
>>> u = User.objects.get(username=<USERNAME>) # can also use email
These last two fixes only require modifying the wiki :)
Activity
lbeziaud commentedon Apr 21, 2023
This might be related to #516
Didayolo commentedon Apr 21, 2023
Good catch, thank you for the report. I have added the
--plainflag in the Wiki.