Skip to content

FirstFirstFirstFirst/django-hw2

Repository files navigation

django-hw2

Setup

Create and activate virtual environment:

cd .. && virtualenv venv && .\venv\Scripts\activate && cd mywebsite

Running the Server

To start the development server:

cd mywebsite
python manage.py runserver

Database Management

Applying Model Changes

When models are modified, run the following commands to migrate and apply all migrations:

python manage.py makemigrations
python manage.py migrate

Creating Admin User

To create a new superuser for the admin interface:

python manage.py createsuperuser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published