(env)erp@erp-Inspiron-N5110:~/tutorial$ python manage.py mirgrate
Unknown command: 'mirgrate'
Type 'manage.py help' for usage.
(env)erp@erp-Inspiron-N5110:~/tutorial$ python manage.py migrate
Operations to perform:
Synchronize unmigrated apps: staticfiles, messages
Apply all migrations: admin, contenttypes, auth, sessions
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying sessions.0001_initial... OK
(env)erp@erp-Inspiron-N5110:~/tutorial$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
June 11, 2015 - 16:38:20
Django version 1.8.2, using settings 'tutorial.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
and u will get the output
Unknown command: 'mirgrate'
Type 'manage.py help' for usage.
(env)erp@erp-Inspiron-N5110:~/tutorial$ python manage.py migrate
Operations to perform:
Synchronize unmigrated apps: staticfiles, messages
Apply all migrations: admin, contenttypes, auth, sessions
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying sessions.0001_initial... OK
(env)erp@erp-Inspiron-N5110:~/tutorial$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
June 11, 2015 - 16:38:20
Django version 1.8.2, using settings 'tutorial.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
and u will get the output
No comments:
Post a Comment