As an example:
view.py
def view1( request ):
return HttpResponse( \"just a test...\" )
urls.py
urlpatterns = patter
This depends whether you want to get it, if you want to get the url in a view(python code) you can use the reverse
function(documentation):
reverse('admin:app_list', kwargs={'app_label': 'auth'})
And if want to use it in a template then you can use the url
tag (documentation):
{% url 'path.to.some_view' v1 v2 %}