Metadata-Version: 2.1
Name: tango-shared-core
Version: 1.2.1
Summary: Tango shared/core functionality.
Home-page: https://github.com/tBaxter/tango-shared-core
Author: Tim Baxter
Author-email: mail.baxter@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: Django (>=1.11)
Requires-Dist: bleach (>=1.2.2)
Requires-Dist: django-filter (>=0.6)
Requires-Dist: docutils (>=0.10)
Requires-Dist: easy-thumbnails (>=1.3)
Requires-Dist: Markdown (>=2.3.1)
Requires-Dist: Pillow (>=2.1.0)
Requires-Dist: six
Requires-Dist: smartypants (>=1.6.0.3)
Requires-Dist: typogrify (>=2.0.0)
Requires-Dist: xmltramp2

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`.


