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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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