Thanks Gabriel.  I think it would be good if the tutorial included a
three-level hierarchy sowing how to handle the url.py and views.py for
the third layer.  Anyway, I now understandone step more.

Thanks and regards

On May 31, 11:46 am, Gabriel <[email protected]> wrote:
> adelaide_mike escribió:
>
> > urlpatterns = patterns('whasite.wha.views',
>
> >    (r'^address/{{street.id}}/(?P<property_id>\d+)/$', 'select_event'),
> >    (r'^address/(?P<street_id>\d+)/$', 'select_property'),
> >    (r'^address/$', 'select_street'),
> >    (r'^$', 'address'),
> > )
>
> (r'^address/(?P<street_id>\d+)/(?P<property_id>\d+)/$', 'select_event'),
>
> Url patterns use regular expressions.
>
> - --
> Kind regards.
--~--~---------~--~----~------------~-------~--~----~
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