Django Template
Command | Function |
---|---|
make init |
Add New Django Project |
make install |
Install requirements.txt & Migrate |
make user |
Add Super User |
make new app=my_app |
Add New Django App |
make |
Run Server |
make test |
Run Tests |
make shell |
Run Shell |
DJANGO_SETTINGS_MODULE
=my_project_name.settings.production
DJANGO_SECRET_KEY
=********
REST_SIGNING_KEY
=********
EMAIL_HOST_PASSWORD
=********
AWS_ACCESS_KEY_ID
=********
AWS_SECRET_ACCESS_KEY
=********
SMS_TOKEN
=********
DATABASE_URL
=postgres://***:*****@pg.com:5432/***
[
{
"AllowedHeaders": [],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"https://www.example1.com",
"https://www.example2.com",
],
"ExposeHeaders": []
}
]