Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for djcorecap, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size djcorecap-1.0.1-py2.py3-none-any.whl (32.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size djcorecap-1.0.1.tar.gz (29.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page