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 https://github.com/barseghyanartur/django-nine/archive/stable.zip
Or latest stable version from BitBucket:
pip install -e https://bitbucket.org/barseghyanartur/django-nine/get/stable.zip
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 Distribution
django-nine-0.1.11.tar.gz
(20.9 kB
view hashes)
Built Distribution
Close
Hashes for django_nine-0.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d338d5a4f0c633473f1332ca11ae9389cbff57822f07b5fc3a2da81038019e8 |
|
MD5 | 619908ff70c401c256d75567a6329973 |
|
BLAKE2b-256 | 25fb38e0be614145893e300f71cff8141cf7a0af3e54a4a0a508adb3cf0a1136 |