1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-18 11:05:16 +00:00

Merge pull request #80 from sodrooome/master

updated django-admin command
This commit is contained in:
Julien Le Coupanec 2019-04-11 10:07:47 +02:00 committed by GitHub
commit dfd1be5c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,3 +48,5 @@ django-admin startapp <Appname> # create a new django application with
django-admin migrate # synchronize the database state with your current state project models and migrations django-admin migrate # synchronize the database state with your current state project models and migrations
django-admin makemigrations # create new migrations to the database based on the changes detected in the models django-admin makemigrations # create new migrations to the database based on the changes detected in the models
django-admin runserver # start the development webserver at 127.0.0.1 with the port 8000 django-admin runserver # start the development webserver at 127.0.0.1 with the port 8000
django-admin help # display usage information and a list of the commands provided by each application
django-admin version # display the current django version