{% extends "master_ass.html" %} {% load url from future %} {% load detailed_tags %} {% block body %}
| App Name | Base URL | Example Pattern | Options |
|---|---|---|---|
| {{ app }} | {{ regex|default_if_none:"Undefined" }} |
{% if regex %}example.com/{{ regex|cut:"^"|cut:'/' }}/list/2014/get{% else %}Not defined in base urls.py{% endif %} |
{% if regex and not app == 'admin' and not app == 'django.contrib.admindocs' %}Associations{% endif %} |
Doesn't display all the installed apps (ex: Admin)
{% else %} {% endif %} {% if extra_urls %}| Pattern | Example Pattern | URL Name | {% for extra_url_regex, extra_url_dict in extra_urls.items %}
|---|---|---|
{{ extra_url_regex|cut:"$" }} |
example.com/{{ extra_url_regex|cut:"^"|cut:"/"|cut:"$" }} |
{{ extra_url_dict.name }} |