A Collection of Django packages and scripts
Project description
What?!
Hadrian - A collection of plugable Django apps and utilities that I use in my projects. I find these apps and scripts useful, either use it or don’t.
Utilties/Apps
ISO Country Choices
Gravatar library/template tags
Starter fabric file
Unique_slugify utiltiy
File field widget that displays the currently uploaded file
Middleware to require login on every page
Custom tagging application that uses slugs (Deprecated, use django-taggit instead)
Installation
pip install hadrian
Want to use the gravatar template tags?
Add hadrian.contrib.gravatar to installed apps
load gravatar_tags
Call get_gravatar or show_gravatar ( Get is just the image URL, while show provides the img tag wrapper )
Use it or don’t.
Hadrian (Latin: Publius Aelius Trajanus Hadrianus Augustus 24 January 76 – 10 July 138), commonly known as Hadrian and after his apotheosis Divus Hadrianus, was Roman Emperor from 117 to 138. He is best known for building Hadrian’s Wall, which marked the northern limit of Roman territory in Britain. In Rome, he re-built the Pantheon and constructed the Temple of Venus and Roma. In addition to being emperor, Hadrian was a humanist and was philhellene in all his tastes. He was the third of the so-called Five Good Emperors.
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
File details
Details for the file hadrian-1.0.1.tar.gz
.
File metadata
- Download URL: hadrian-1.0.1.tar.gz
- Upload date:
- Size: 149.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd93677f493672bf7370a17abc9d78e277112f085f25fdc997d12d990e0bde1a |
|
MD5 | 2f57c58bdab61822d31d26bd47705913 |
|
BLAKE2b-256 | f9efa95cb54e9b87d519ac29ac20bfc6d3ebf6e1e2d118b3724831242ee44e7a |