Metadata-Version: 2.0
Name: dj-ango
Version: 0.2.0
Summary: Simplifying the import structure of Django.
Home-page: https://github.com/pydanny/dj-ango
Author: Daniel Roy Greenfeld
Author-email: pydanny@gmail.com
License: BSD
Keywords: dj-ango
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
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

=============================
dj-ango
=============================

.. image:: https://badge.fury.io/py/dj-ango.png
    :target: https://badge.fury.io/py/dj-ango

.. image:: https://travis-ci.org/pydanny/dj-ango.png?branch=master
    :target: https://travis-ci.org/pydanny/dj-ango

Simplifying the import structure of Django.

Documentation
-------------

The full documentation is at https://dj-ango.readthedocs.org.

Quickstart
----------

Install dj-ango::

    pip install dj-ango

Then use it in a project:

.. code-block:: python

    from ango import settings, TemplateView, url

    class AboutView(TemplateView):
        template_name = "about.html"

        def get_context_data(self, **kwargs):
            context = super(AboutView, self).get_context_data(**kwargs)
            context['is_debug_mode'] = settings.DEBUG
            return context

    urlpatterns = [
        url(
            regex=r'^about/$',
            view=AboutView.as_view(),
            name='about'
        )
    ]



Running Tests
--------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install -r requirements-text.txt
    (myenv) $ python runtests.py

Credits
---------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-pypackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-pypackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.2.0 (2015-12-21)
++++++++++++++++++

* Added first pass of flattened imports
* Documented implementation in README.

0.1.0 (2015-12-20)
++++++++++++++++++

* First release on PyPI.


