Skip to main content
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 (Note: You'll need to set `GMAP_KEY` in your settings)

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


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.5.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tango_shared_core-1.5.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file tango-shared-core-1.5.0.tar.gz.

File metadata

  • Download URL: tango-shared-core-1.5.0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for tango-shared-core-1.5.0.tar.gz
Algorithm Hash digest
SHA256 bf708ab0623b81b04b41db8476a4986d2a4c3b503fa3ce8247c6c6d4d27ec110
MD5 a4425c503be07870e51affa8a37fe9f5
BLAKE2b-256 042e8452419bc589c84f70028f6dae6c27e37607a91f69f018a9e6724f69e274

See more details on using hashes here.

File details

Details for the file tango_shared_core-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: tango_shared_core-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for tango_shared_core-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fe75493edc5afcde70045c138acefd80b2148dac8c795f2137281aba638ecf9
MD5 458c1b785d44a238aafce8adf4f7d545
BLAKE2b-256 0475779481fc9e31e53f658682b922eb5d75da0e6705f94f0b0ca32091433522

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 files

1.4.0

2 files

1.3.0

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.10

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.1

1 file

0.17.1

1 file

0.17.0

1 file

0.16.5

1 file

0.16.4

1 file

0.16.3

1 file

0.16.2

1 file

0.16.1

1 file

0.16.0

1 file

0.15.0

1 file

0.14.3

1 file

0.14.2

1 file

0.14.1

1 file

0.14.0

1 file

0.12.5

1 file

0.12.4

1 file

0.12.3

1 file

0.12.1

1 file

0.12.0

1 file

0.11.0

1 file

0.10.0

1 file

0.9.0

1 file

0.8.2

1 file

0.8.1

1 file

0.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7

1 file

0.6.5

1 file

0.6.4

1 file

0.6.2

1 file

0.6.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page