Skip to main content

This is a custom reusable Django core app.

Project description

vto_core

This is a custom reusable Django core app.

It includes admin override templates (e.g., to display the project name and current environment in a header in the admin interface), a minimal login page template, a custom template tag to render Markdown partials, custom context processors to convey settings variables to templates, and middleware to activate user time zones in templates.

It also includes a time zones model, and a custom user model which uses the time zones model as a dropdown list with autocomplete in the admin UI (something which is missing from django-timezone-field). Moreover, this allows one to only add the specific time zones desired, particularly choosing to use only the ones which are canonical.

The the user portion of the admin.py file is mostly copied verbatim from upstream, and then tweaked to replace the stock first_name and last_name conventions from with slightly more international options, lightly inspired by the Cookiecutter Django project.

The GitHub repository also has a sample backup script and sample JSON fixture.

Disclaimer

This is just a personal test app, it is not intended for use by anyone else.

Required By

Requires

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vto_core-0.0.3.tar.gz (235.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vto_core-0.0.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file vto_core-0.0.3.tar.gz.

File metadata

  • Download URL: vto_core-0.0.3.tar.gz
  • Upload date:
  • Size: 235.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for vto_core-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0dadcff0baeb152012bc121dc7b51fdc5fb475d72f4433ab0b05aea77fc6bc33
MD5 c563ba1db87fb24c2efa4870ec62f577
BLAKE2b-256 946ef76ef6e2a1a293e7ca3ba941a4863f066381f58c8f9bd15e6287a0033c22

See more details on using hashes here.

File details

Details for the file vto_core-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: vto_core-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for vto_core-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78d9bd0d275b720249274c98a3ea7a52d6d8b49fcf3e915d28c692ba72a0a868
MD5 6691b2dd82d1e8e191cf927ba4ab5047
BLAKE2b-256 bfb3d8585be756ecfa2fda31902c0ced3eda6b3f2a72a7099b82081e8e174fde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page