Skip to main content

Compatibility library for Django.

Project description

django-nine - compatibility library for Django.

Installation

  1. 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.

Author

Artur Barseghyan <artur.barseghyan@gmail.com>

Project details


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

Uploaded Source

Built Distribution

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

django_nine-0.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-nine-0.1.tar.gz.

File metadata

  • Download URL: django-nine-0.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-nine-0.1.tar.gz
Algorithm Hash digest
SHA256 0f8235537d1f40a372b2c4850c986cf3b9ade6941067518f826ee5a4e3ce0fc7
MD5 ea73d5ccaf1aff8755ff30f26e819852
BLAKE2b-256 cd9aa34a442e18f09bc08f6ffab47645e13e5e968f4ef62da2aac3abe294c2b6

See more details on using hashes here.

File details

Details for the file django_nine-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_nine-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f34c8560d4fd0538af5084d31ddd83fb6a175a925121b476aa8c6565fc7bcf6a
MD5 a141172f9f419f58aafcdec0092fc5b7
BLAKE2b-256 f844e32597fb05b74b03dd328b1fe2b2135f9878a06b5e68fa83d3eefbb39e39

See more details on using hashes here.

Supported by

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