MyTetra Share
Делитесь знаниями!
4. initiate the database
Время создания: 07.09.2017 20:22
Раздел: Python - Django - __Порядок работы с проектом
Запись: xintrea/mytetra_db_mcold/master/base/15048049222mina11g42/text.html на raw.githubusercontent.com
$ python manage.py migrate

syncdb will create necessary tables or collections depending on your db type, necessary for the admin interface to run. Even if you don't have a superuser, you will be prompted to create one.


If you already have a superuser or have forgotten it, you can always create one using the following code −

$ python manage.py createsuperuser
 
MyTetra Share v.0.65
Яндекс индекс цитирования