Hi,
Quote from URL dispatcher documentation:
"To design URLs for an app, you create a Python module informally called
a URLconf (URL configuration). This module is pure Python code and is a
simple mapping between URL patterns (as simple regular expressions) to
Python callback functions (your views).
"
So you need to do your homework and learn how to read and write (Python)
regular expressions since pretty much everything in url
config is a regular expression.
28.6.2012 1:29, Smaran Harihar kirjoitti:
The doc did not give details for *r'^(?:index/?)?$'*, in
(r'^(?:index/?)?$', 'geonode.views.index')
Thanks,
Smaran
On Wed, Jun 27, 2012 at 4:16 AM, bruno desthuilliers
<bruno.desthuilli...@gmail.com <mailto:bruno.desthuilli...@gmail.com>>
wrote:
On Tuesday, June 26, 2012 6:52:06 PM UTC+2, Sam007 wrote:
Hi,
I am bit confused about what exactly do these urls imply in the
url.py
This is all documented here :
https://docs.djangoproject.com/en/dev/topics/http/urls/
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.