Horje
djanog shell change password Code Example
djanog shell change password
from django.contrib.auth.models import User

usr = User.objects.get(username='your username')
usr.is_superuser=True
usr.is_staff=True
usr.set_password('raw password')
usr.save()
forgot django admin password
python manage.py changepassword <user_name>




Shell

Related
evernote linux Code Example evernote linux Code Example
command prompt cd back Code Example command prompt cd back Code Example
install zsh hyper mac Code Example install zsh hyper mac Code Example
uninstall redis ubuntu terminal Code Example uninstall redis ubuntu terminal Code Example
linux xinput touchscreen Code Example linux xinput touchscreen Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11