Top "Django-urls" questions

The Django URL dispatch system

Django: get URL of current page, including parameters, in a template

Is there a way to get the current page URL and all its parameters in a Django template? For example, …

django django-urls django-templates
How to get the current url name using Django?

I have to build an url dynamically according to the current url. Using the {% url %} tag is the easiest way …

django django-urls urlconf
Django 404 error-page not found

My project is named homefood, and when I runserver I get this error.Anybody have any clue how to fix …

python django http-status-code-404 django-urls
Django : How can I see a list of urlpatterns?

How can I see the current urlpatterns that "reverse" is looking in? I'm calling reverse in a view with an …

django django-urls django-views
django urls without a trailing slash do not redirect

I've got two applications located on two separate computers. On computer A, in the urls.py file I have a …

python django django-urls
Get django object id based on model attribute

I have a basic model named "Places" which has this view: def view_index(request, place_name): The user will …

django django-models django-views django-urls
ImproperlyConfiguredError about app_name when using namespace in include()

I am currently trying out Django. I use the namespace argument in one of my include()s in urls.py. …

python django django-urls
Django templates folders

I'm experimenting with Django, and figuring out how to set urls.py, and how the URLs work. I've configured urls.…

django django-templates django-urls
How to handle request.GET with multiple variables for the same parameter in Django

In a Django view you can access the request.GET['variablename'], so in your view you can do something like …

django django-views django-urls
Django URLS, how to map root to app?

I am pretty new to django but experienced in Python and java web programming with different frameworks. I have made …

django django-urls