I tried this solution and that's what it was. I knew I was missing
something obvious. Thanks so much.
On Sep 23, 8:32 pm, Peter Coles wrote:
> Looks like your regex isn't matching:
>
> reverse('view-project', args=['blue-dog'])
>
> is trying the regex here:
>
> url(r'^(?P\w+)/$', 'view_p
I appreciate the answer and I'll give that a try and put some feedback
here about it.
On Sep 23, 8:32 pm, Peter Coles wrote:
> Looks like your regex isn't matching:
>
> reverse('view-project', args=['blue-dog'])
>
> is trying the regex here:
>
> url(r'^(?P\w+)/$', 'view_project', name="view-
Looks like your regex isn't matching:
reverse('view-project', args=['blue-dog'])
is trying the regex here:
url(r'^(?P\w+)/$', 'view_project', name="view-project"),
I think you want (?P[\w\-]+). Whenever I'm unsure about a
regex, I open up a shell "import re" and test it out.
--
Peter
On
I'm still having considerable problems with my reverse URLs and can't
find what I'm doing wrong. For reference I'm pasting in my
localsettings file (with some info scrubbed out), my root urls.py file
as well as an included urls.py file relevant to the error.
My problem is that I am getting vario
4 matches
Mail list logo