Tango shared/core functionality.
Project description
Tango Shared Core
=====
Provides shared and core functionality used by multiple Tango apps,
and will be installed by them as needed.
[![Build Status](https://travis-ci.org/tBaxter/tango-shared-core.svg?branch=master)](https://travis-ci.org/tBaxter/tango-shared-core)
## So what's in here, anyway?
### Base models
Abstract base models are included for common content objects, including images, so you can handle common fields and needs quickly, easily and consistently.
### Useful settings
A lot of them. Seriously, take a look at the settings file.
### Template tags and filters
* Formatting helpers
* Simple (and non-tracking) social media links.
* Additional time output helpers
### A robust base template
Based on HTML5 Boilerplate, but for Django, and battle-tested.
### A administrator how-to section in the admin
You already have developer documentation in the admin. This gives you hooks to include documentation aimed at administrators as well, just by including a `how_to.md` file in your app. See the other Tango apps for examples.
### Middleware and Context Processors
* StripEmptyLines: Strips HTML output of excessive newlines
* CompactHTMLMiddleware: Pseudo-minification for HTML output, good for a 30-40% reduction in file size. Not entirely safe with `pre` tags. Use with caution.
* The site_processor context processor adds a bunch of useful things in context.
### Utils
* Robust user submission sanitization
* map tools to ease Google Map integration
### JS
* A solid implementation of Markitup
## Installation
Installation should be automatic, from the application needing it.
You can also install from pip or github.
If you run into appRegistry issues, be sure `INSTALLED_APPS` contains
`easy_thumbnails` and `django.contrib.contenttypes`.
=====
Provides shared and core functionality used by multiple Tango apps,
and will be installed by them as needed.
[![Build Status](https://travis-ci.org/tBaxter/tango-shared-core.svg?branch=master)](https://travis-ci.org/tBaxter/tango-shared-core)
## So what's in here, anyway?
### Base models
Abstract base models are included for common content objects, including images, so you can handle common fields and needs quickly, easily and consistently.
### Useful settings
A lot of them. Seriously, take a look at the settings file.
### Template tags and filters
* Formatting helpers
* Simple (and non-tracking) social media links.
* Additional time output helpers
### A robust base template
Based on HTML5 Boilerplate, but for Django, and battle-tested.
### A administrator how-to section in the admin
You already have developer documentation in the admin. This gives you hooks to include documentation aimed at administrators as well, just by including a `how_to.md` file in your app. See the other Tango apps for examples.
### Middleware and Context Processors
* StripEmptyLines: Strips HTML output of excessive newlines
* CompactHTMLMiddleware: Pseudo-minification for HTML output, good for a 30-40% reduction in file size. Not entirely safe with `pre` tags. Use with caution.
* The site_processor context processor adds a bunch of useful things in context.
### Utils
* Robust user submission sanitization
* map tools to ease Google Map integration
### JS
* A solid implementation of Markitup
## Installation
Installation should be automatic, from the application needing it.
You can also install from pip or github.
If you run into appRegistry issues, be sure `INSTALLED_APPS` contains
`easy_thumbnails` and `django.contrib.contenttypes`.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tango-shared-core-1.2.3.tar.gz
(36.9 kB
view hashes)
Built Distribution
Close
Hashes for tango_shared_core-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d71688b428d8f38d60694048a18552370f5c50c2bec5697b64a6e5a2e05b75 |
|
MD5 | f13b69b9117670c76e2167204dc94420 |
|
BLAKE2b-256 | f10c1a1ea167a96adb5f5b16af6d5c55fa6fc47e514852ad2b396472b09ecbb9 |