Compare commits

...

4 Commits

Author SHA1 Message Date
Md. Babul Hasan (NoYoN)
e20498e5c6 Merge e5ebd5cf5c into 559d03ecf3 2024-02-26 16:45:16 -07:00
Julien Le Coupanec
559d03ecf3 Merge pull request #372 from cunnellp5/cunnellp/vscode/add-command-and-cleanup-spaces
updates vscode cheat sheet
2024-02-26 18:25:32 +01:00
cunnellp5
bea751612a updates vscode cheat sheet with one command 2024-02-15 07:10:18 -07:00
Md. Babul Hasan (NoYoN)
e5ebd5cf5c new django command + update
Added the command which is used to deploy django project in local network and fixes a command
2023-08-26 20:30:29 +06:00
2 changed files with 6 additions and 4 deletions

View File

@@ -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 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 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 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.

View File

@@ -6,7 +6,8 @@
#### 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`+`Shift`+`N`: New window/instance
- `Ctrl`+`W`: Close window/instance