2009/6/13 wilby :
>
> Hi group,
>
> I am having a problem getting text in the url to be passed as
> arguments to my view.
>
> My defined urls are:
>
>
> (r'^notes/', 'notes'),
Shoud be
(r'^notes/$', 'notes'),
if you mantain as it is it matches also notes/a/0/ so the second url
never captures the
Hi group,
I am having a problem getting text in the url to be passed as
arguments to my view.
My defined urls are:
(r'^notes/', 'notes'),
(r'^notes/(?Pa|e|d{1})/(?P[0-9]*)/$', 'notes'),
My view is as follows:
@login_required()
def notes(request, action=None, id=0):
if action == 'a':
2 matches
Mail list logo