Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (31 sloc) 582 Bytes

URL Router

Global URLs

In app URLs

urlpatterns

.. literalinclude:: src/django-url-urlpatterns.py
    :language: python
    :caption: Path usage

path

.. literalinclude:: src/django-url-path.py
    :language: python
    :caption: Path usage

url

.. literalinclude:: src/django-url-url.py
    :language: python
    :caption: Path usage

include

.. literalinclude:: src/django-url-include.py
    :language: python
    :caption: Path usage


URLs reversing

URLs in templates