Metadata-Version: 2.0
Name: django-nine
Version: 0.1.11
Summary: Compatibility library for Django.
Home-page: https://github.com/barseghyanartur/django-nine/
Author: Artur Barseghyan
Author-email: artur.barseghyan@gmail.com
License: GPL 2.0/LGPL 2.1
Keywords: django,compatibility
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta

===========
django-nine
===========
`django-nine` - compatibility library for Django.

Installation
============
1. Install latest stable version from PyPI:

.. code-block:: text

    pip install django-nine

Or latest stable version from GitHub:

.. code-block:: text

    pip install -e https://github.com/barseghyanartur/django-nine/archive/stable.zip

Or latest stable version from BitBucket:

.. code-block:: text

    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.

.. code-block:: python

    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:

.. code-block:: python

    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>


