Skip to content Skip to sidebar Skip to footer
Showing posts with the label Django Urls

Error: ' No Module Named 'django.core.urlresolvers'

I am trying to create web services using the Django REST Framework. While running the server, when … Read more Error: ' No Module Named 'django.core.urlresolvers'

How To Get Parameters From Current Url

Is it possible to get an specific parameter in a url and use it in a template ? `{{ request.path }}… Read more How To Get Parameters From Current Url

Multiple Parameters Url Pattern Django 2.0

I want to pass two parameters in my url pattern but i am getting error no-reverse match i.e 'pr… Read more Multiple Parameters Url Pattern Django 2.0

Typeerror When Concatenating Django.test.liveservertestcase's Live_server_url With Another String

Whenever I try to construct a string based on self.live_server_url, I get python TypeError messages… Read more Typeerror When Concatenating Django.test.liveservertestcase's Live_server_url With Another String

Django 1.5.1 'importerror: No Module Named Urls' When Running Tests

I've started project with Django 1.5 I've the following urls, views, and tests of the profi… Read more Django 1.5.1 'importerror: No Module Named Urls' When Running Tests

Adding Extra Filter To Polls Urls.py Causes Tests To Fail

Following the tutorial at djangoproject, I have tried to have urls.py filter out the polls with no … Read more Adding Extra Filter To Polls Urls.py Causes Tests To Fail

Multiple Url Dispatches With Regex

I have a two URL dispatches. One that catches words on http://domain.com/thisword, while the second… Read more Multiple Url Dispatches With Regex