Django Template Backend
A template for Django apps with support for Django REST Framework, filters, Celery tasks, Beat schedules tasks, pytest, and other things.
Setup
- Install the project dependencies
$ pipenv install --dev
-
Refactor "template" names throughout project to desired name
-
Create models
-
Make migrations and migrate the database
$ pipenv run python manage.py makemigrations
$ pipenv run python manage.py migrate
- Start the Django server
$ pipenv run python manage.py runserver
- Optionally start the Celery related processes
$ redis-server
$ pipenv run celery -A template_project worker -l info
$ pipenv run celery -A template_project beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
Tests
Tests are setup to run through Pytest. They can be invoked with:
$ pipenv run python manage.py test
or
$ pipenv run python -m pytest
Metadata
Release files for django-template-backend 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-template-backend-1.0.tar.gz | 16.1 kB | Without provenance | Details for django-template-backend-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_template_backend-1.0-py3-none-any.whl | Python 3 | none | any | Details for django_template_backend-1.0-py3-none-any.whl |
Total release size: 25.6 kB
Release files / django-template-backend-1.0.tar.gz
| Download URL | django-template-backend-1.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c414a58092ad0275af6313abe279b63f2dba9fc084d4bcbb04f0a4c7b5cf96a
|
|
BLAKE2b-256 checksum How to use checksums |
fcf29cdeed019bac7385074fa8a684e800d9645d70d520bd2d7f86706bb32dc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / django_template_backend-1.0-py3-none-any.whl
| Download URL | django_template_backend-1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1ddec9fe6daaec14cd78bf9f86d306f87f1b4589531fa22d9997ae825d5fc03
|
|
BLAKE2b-256 checksum How to use checksums |
58811a98d3eaf9e38635c33b23e6b72844ed2c419ff1b80890e9b3ea8a2ba8c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for django-template-backend 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.