Hi,

I am bit confused about what exactly do these urls imply in the url.py

urlpatterns = patterns('',
 (r'^(?:index/?)?$', 'geonode.views.index'),
    (r'^(?P<page>help)/?$', 'geonode.views.static'),
    (r'^developer/?$', 'geonode.views.developer'),
    url(r'^lang\.js$', 'django.views.generic.simple.direct_to_template',
               {'template': 'lang.js', 'mimetype': 'text/javascript'},
'lang'),
    (r'^maps/', include('geonode.maps.urls'))


I know that a simple url syntax like this,

url(r'^data/$', 'geonode.maps.views.browse_data')

implies, that it will execute the function browse_data in views.py in the
maps directory, inside the geonode dir.

But not sure what the above urls imply. I am absolutely new to Django so
can u explain in simple terms.

-- 
Thanks & Regards
Smaran Harihar

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to