Re: View arguments via url are not being passed to the view.

2009-06-13 Thread Antoni Aloy
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

View arguments via url are not being passed to the view.

2009-06-13 Thread 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'), (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':