mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-29 14:48:01 -08:00
Compare commits
4 Commits
ddcff7a0b0
...
e20498e5c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e20498e5c6 | ||
|
|
559d03ecf3 | ||
|
|
bea751612a | ||
|
|
e5ebd5cf5c |
@@ -89,7 +89,8 @@ django-admin help # display usage information and a list
|
|||||||
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 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 remove_stale_contenttypes # Deletes stale content types (from deleted models) in your database.y.
|
django-admin remove_stale_contenttypes # Deletes stale content types (from deleted models) in your database.y.
|
||||||
django-admin runserver <port> # start the development webserver at 127.0.0.1 with the port <port> default 8000
|
python manage.py runserver # start the development webserver at 127.0.0.1 with the port <port> default 8000
|
||||||
|
python manage.py runserver 0.0.0.0:<port># start the development webserver at device ip with the port and accessible in local network
|
||||||
django-admin sendtestemail # Sends a test email to the email addresses specified as arguments.
|
django-admin sendtestemail # Sends a test email to the email addresses specified as arguments.
|
||||||
django-admin shell # Runs a Python interactive interpreter. Tries to use IPython or bpython, if one of them is available. Any standard input is executed as code.
|
django-admin shell # Runs a Python interactive interpreter. Tries to use IPython or bpython, if one of them is available. Any standard input is executed as code.
|
||||||
django-admin showmigrations # Shows all available migrations for the current project.
|
django-admin showmigrations # Shows all available migrations for the current project.
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
#### General
|
#### General
|
||||||
|
|
||||||
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
||||||
|
- `Ctrl`+`Shift`+`T`: Open last closed tab
|
||||||
- `Ctrl`+`P`: Quick Open, Go to File
|
- `Ctrl`+`P`: Quick Open, Go to File
|
||||||
- `Ctrl`+`Shift`+`N`: New window/instance
|
- `Ctrl`+`Shift`+`N`: New window/instance
|
||||||
- `Ctrl`+`W`: Close window/instance
|
- `Ctrl`+`W`: Close window/instance
|
||||||
|
|||||||
Reference in New Issue
Block a user