Skip to main content

A simple Django App to show url associations with views and template names in installed apps

Project description

Associations is a simple Django app to show associations between urls and templates of an app. For each app a list of views, view names, view types and urls are shown

Requirements

Currently works with Django 1.5 above and Python 2.7.x

Quick start

  1. Add “associations” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'associations',
    )
  2. Include the BASE_DIR in your project settings like this:

    BASE_DIR = os.path.dirname(os.path.dirname(__file__))

    If the ‘BASE_DIR’ is defined as some other variable, define BASE_DIR = <variable name>

  1. Include the Associations URLconf in your project urls.py like this:

    url(r'^associations/', include('associations.urls')),
  2. Start the development server and visit http://127.0.0.1:8000/associations/ and you’re done

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-associations-0.1.5.tar.gz (20.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

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