Working with URLs in Python & Django

First the basics — navigating within your own app. If you’ve got this in your urls.py file:

from django.conf.urls import url
from paths import views

urlpatterns = (
url(r'^some/path/here$', views.path_view, name='path_view'),
)