Skip to main content

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

  1. Install the project dependencies
$ pipenv install --dev
  1. Refactor "template" names throughout project to desired name

  2. Create models

  3. Make migrations and migrate the database

$ pipenv run python manage.py makemigrations
$ pipenv run python manage.py migrate
  1. Start the Django server
$ pipenv run python manage.py runserver
  1. 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

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)

Source distribution for django-template-backend 1.0
File Size Uploaded
django-template-backend-1.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-template-backend 1.0
File Interpreter ABI Platform
django_template_backend-1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page