Compatibility library for Django.
Project description
django-nine - compatibility library for Django.
Installation
Install latest stable version from PyPI:
$ pip install django-nine
Or latest stable version from GitHub:
$ pip install -e git+https://github.com/barseghyanartur/django-nine@stable#egg=django-nine
Or latest stable version from BitBucket:
$ pip install -e hg+https://bitbucket.org/barseghyanartur/django-nine@stable#egg=django-nine
Usage
For example, if Django version installed in your environment is 1.7.4, then the following would be true.
from nine import versions
versions.DJANGO_1_7 # True
versions.DJANGO_LTE_1_7 # True
versions.DJANGO_GTE_1_7 # True
versions.DJANGO_GTE_1_8 # False
versions.DJANGO_GTE_1_4 # True
versions.DJANGO_LTE_1_6 # False
Or you could safely import the user model as follows:
from nine.user import User
License
GPL 2.0/LGPL 2.1
Support
For any issues contact me at the e-mail given in the Author section.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
django_nine-0.1.2-py3.4.egg
(10.9 kB
view hashes)
django_nine-0.1.2-py3.3.egg
(10.9 kB
view hashes)
django_nine-0.1.2-py2.7.egg
(10.2 kB
view hashes)
Close
Hashes for django_nine-0.1.2-py3.py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf622e2602c5c3cdf3146a3633f75749322c129bda84f25afd98198ac8191e76 |
|
MD5 | af5c04e8b5d0ed2f60b530e9572340e8 |
|
BLAKE2b-256 | 18aa50bd74d80110abab511774c4ae24168841e963bf77892605f521909492b2 |