0% found this document useful (0 votes)
4 views2 pages

Create A Django Project Using Command Promt

The document outlines the process of setting up a Django project named 'ecomproj' on a local machine. It includes commands for creating the project, navigating directories, and running the development server. Additionally, it notes the presence of unapplied migrations that need to be addressed for the project to function correctly.

Uploaded by

THEJAS KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Create A Django Project Using Command Promt

The document outlines the process of setting up a Django project named 'ecomproj' on a local machine. It includes commands for creating the project, navigating directories, and running the development server. Additionally, it notes the presence of unapplied migrations that need to be addressed for the project to function correctly.

Uploaded by

THEJAS KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

C:\Users\Thejas kumar b.

r>cd desktop

C:\Users\Thejas kumar b.r\Desktop>django-admin

Type 'django-admin help <subcommand>' for help on a specific subcommand.

Available subcommands:

[django]

check

compilemessages

createcachetable

dbshell

diffsettings

dumpdata

flush

inspectdb

loaddata

makemessages

makemigrations

migrate

optimizemigration

runserver

sendtestemail

shell

showmigrations

sqlflush

sqlmigrate

sqlsequencereset

squashmigrations

startapp

startproject

test

testserver

Note that only Django core commands are listed as settings are not properly configured (error:
Requested setting INSTALLED_APPS, but settings are not configured. You must either define the
environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing
settings.).
C:\Users\Thejas kumar b.r\Desktop>django-admin startproject ecomproj

C:\Users\Thejas kumar b.r\Desktop>cd ecomproj

C:\Users\Thejas kumar b.r\Desktop\ecomproj>python manage.py runserver

Watching for file changes with StatReloader

Performing system checks...

System check identified no issues (0 silenced).

You have 18 unapplied migration(s). Your project may not work properly until you apply the
migrations for app(s): admin, auth, contenttypes, sessions.

Run 'python manage.py migrate' to apply them.

September 01, 2024 - 13:18:23

Django version 5.1, using settings 'ecomproj.settings'

Starting development server at http://127.0.0.1:8000/

Quit the server with CTRL-BREAK.

You might also like