This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simplifying the import structure of Django.

Project Description

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:

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 creating this package:

Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dj_ango-0.2.0-py2.py3-none-any.whl (3.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Dec 21, 2015
dj-ango-0.2.0.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Dec 21, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting