Compare commits

...

2 Commits

Author SHA1 Message Date
Md. Babul Hasan (NoYoN)
a055eb1b65 Merge e5ebd5cf5c into 88e5be6e4b 2024-09-04 16:57:04 +03: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

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.