From b7a5aa284c0cd19d847d9ac7c04a16a6471f7ac9 Mon Sep 17 00:00:00 2001 From: pfeinsondev <58021443+pfeinsondev@users.noreply.github.com> Date: Wed, 20 Nov 2019 21:37:39 -0800 Subject: [PATCH] Update django.py Ammend runserver with optional port parameter. Useful if 8000 is unavailable. --- backend/django.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/django.py b/backend/django.py index 12a33ee..f9347ea 100644 --- a/backend/django.py +++ b/backend/django.py @@ -61,7 +61,7 @@ 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 # 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 default 8000 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.