На случай, если забыли имя пользователя и/или пароль.
Django 1.3.1
Если вы забыли имя пользователя – выполните:
MariaDB [django_example1]> SELECT * FROM auth_user where is_superuser=1; +----+----------+------------+-----------+-----------------+-----------------------------------------------------+----------+-----------+--------------+---------------------+---------------------+ | id | username | first_name | last_name | email | password | is_staff | is_active | is_superuser | last_login | date_joined | +----+----------+------------+-----------+-----------------+-----------------------------------------------------+----------+-----------+--------------+---------------------+---------------------+ | 1 | setevoy | User | User | [email protected] | *************************************************** | 1 | 1 | 1 | 2015-03-10 08:44:43 | 2015-03-01 03:48:40 | +----+----------+------------+-----------+-----------------+-----------------------------------------------------+----------+-----------+--------------+---------------------+---------------------+ 1 row in set (0.01 sec)
Что бы сбросить пароль – выполните:
$ ./manage.py changepassword setevoy Changing password for user 'setevoy' Password: Password (again): Password changed successfully for user 'setevoy'