Skip to main content

Useful functions, tags, and Bootstrap-friendly templates for Django.

Project description

djcorecap

Core app for Django projects that provides essential functions, tags, and enhanced Bootstrap-friendly templates.

  • Free software: MIT license

Features

  • Custom base template that plays nicely with Bootstrap (and themes)

  • Custom allauth templates that play nicely with Bootstrap (and themes)

  • Paginator template snippet ready for inclusion in other templates

  • Convenience functions to support Bokeh plots

  • Template tags for auto-setting links to active and formatting percentages

  • Bootstrap test page

Installation

Add djcorecap to your INSTALLED_APPS in settings. Ensure that it comes before all other third party apps to enable template overrides, etc.

If you plan to use the app’s base template as your project’s base template, replace base.html in project/templates/ with a file containing the following:

{% extends 'djcorecap/base.html' %}

If you plan to use djcorecap’s version of the allauth templates, delete the account/ folder (if exists) from project/templates/.

History

0.1.0 (2018-03-24)

  • First release

1.0.0 (2020-04-10)

  • First PyPI production release

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

djcorecap-1.0.1.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

djcorecap-1.0.1-py2.py3-none-any.whl (32.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file djcorecap-1.0.1.tar.gz.

File metadata

  • Download URL: djcorecap-1.0.1.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for djcorecap-1.0.1.tar.gz
Algorithm Hash digest
SHA256 10160eec15eb01f04f2e59378f0fd29b37371b7cf97dc9dfe4e9400392fd9a58
MD5 ea89ca4f2ad4361a8af113f26f36c276
BLAKE2b-256 03bfbafbc003a8186b8e4c17a246d6d0d048aaacf59c9ce97b0e63c41df9cca8

See more details on using hashes here.

File details

Details for the file djcorecap-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: djcorecap-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for djcorecap-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 736c9bcd736792c44eeb966202f44699344ea6cbfdce1d5ebae197775772c9f7
MD5 3e1d7daa4141b2f92731aaa50c243104
BLAKE2b-256 1ae930741246f347baec2674b90e4729fa7f8e3a69c6e3cbd01208abf0a65940

See more details on using hashes here.

Supported by

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