Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

vasyarv/web_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Как сделать в python-social-auth нормального админа

python3 manage.py createsuperuser

Ставим sqlite3 и заходим в консоль

attach "mydb.sqlite" as db1;

SELECT name FROM db1.sqlite_master WHERE type='table';

Далее исполняем, но нужно подправить название модуля

select * from vkmodule_userprofile;

Чтобы узнать название строчек:

PRAGMA table_info('table_name');

update vkmodule_userprofile set is_superuser=1 where username="admin";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published