DJANGO BASE PROJECT
Steps to start a Django Project
- Activate Virtual Enviornment
- pip install poetry
- poetry install ( to install all pre-installed python modules like django, django restframework etc )
- Generate fernet key using general.encryptions.generate_key method and add generated key to secret.key file
- Run --> poetry run python .\manage.py makemigrations (to generate migrations)
- Run --> poetry run python .\manage.py migrate (to migrate)
- Run --> poetry run python .\manage.py runserver (to run development server)
- Run --> poetry add ( to install python module )
- Run --> poetry remove ( to uninstall python module )
- You can customize this project as you need
Refer https://rogue-tea-117.notion.site/BACKEND-RESPONSES-648fbd62d74149ffb69dc5329a00cc2b for response data format
Metadata
Release files for my-django-template 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| my_django_template-0.1.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| my_django_template-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.6 kB
Release files / my_django_template-0.1.tar.gz
| Download URL | my_django_template-0.1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ea7de304e09d32fa6653a65b82d8bea94e31249004c6fdcea28841d57dd568e
|
|
BLAKE2b-256 checksum How to use checksums |
8565c9af0082d00d20e62e5388815d0bfa972d7df84a0e493b4e670d3409aa98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|
Release files / my_django_template-0.1-py3-none-any.whl
| Download URL | my_django_template-0.1-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c0bd71a3bd248cdd276f58a445d919511612b10816d3f82cf3515e1472966c0
|
|
BLAKE2b-256 checksum How to use checksums |
9ebf01a8cbe63b1f011b0a59d3d9e05ede5bf81fce54e1b5e127ec4f96051e2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.1
|