0% found this document useful (0 votes)
3 views1 page

Django File

Uploaded by

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

Django File

Uploaded by

pavanbackup22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

python -m venv env

env\scripts\activate
pip install django djongo pytz pymongo dnspython
pip install -r [Link]
django-admin startproject <project_name>

settings file
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'Project_Data',
'CLIENT': {
'host':
'mongodb+srv://stubbornvarun0705:stubbornvarun0705@[Link]/
',
'authMechanism': 'SCRAM-SHA-1',
'username':'stubbornvarun0705',
'password':'stubbornvarun0705',
}
}
}

INSTALLED_APPS = [
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'rest_framework',
'corsheaders',
'djongo',
'backend_app',
]

MIDDLEWARE = [
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',
'[Link]',

cd <Web_Project>
python [Link] startapp <app_name>
python [Link] makemigrations
python [Link] migrate
python [Link] runserver

You might also like