Compatibility library for Django.
Project description
django-nine - compatibility library for Django.
Prerequisites
Python 2.6, 2.7, 3.4, 3.5 and 3.6.
Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10 and 1.11.
Installation
Install latest stable version from PyPI:
pip install django-nine
Or latest stable version from GitHub:
pip install https://github.com/barseghyanartur/django-nine/archive/stable.zip
Or latest stable version from BitBucket:
pip install 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
Testing
Simply type:
./runtests.py
Or use tox:
tox
Or use tox to check specific env:
tox -e py35
Or run Django tests:
./manage.py test nine --settings=settings.testing
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
Built Distribution
File details
Details for the file django-nine-0.1.12.tar.gz
.
File metadata
- Download URL: django-nine-0.1.12.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5e7a93efca02369bec512aa500a5429c37bd76c299a720098e4141199764ff |
|
MD5 | 16655e28ea4e1dfab08f6ada29b45803 |
|
BLAKE2b-256 | 13e232854d420a17501b71d0f54fdc636eaaddaed3617ad9d7b3f858063e69bc |
Provenance
File details
Details for the file django_nine-0.1.12-py2.py3-none-any.whl
.
File metadata
- Download URL: django_nine-0.1.12-py2.py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b53fef5347b2b34ee57e159258f8f41c12aabdf339e7af2a362d6016364c5e0 |
|
MD5 | e948dbe55abec15c1cfdff60210fe3b5 |
|
BLAKE2b-256 | 32952b8682889b04558a532f5ec0c0dbea36e7da763cd1b15ddb7b4c233e04ca |