On Sun, May 4, 2008 at 9:21 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>
> Hi Chris
>
> or, if you want it more specific:
>
> (r'^(?P\w+)/(?P\d{4}-\d{2}-\d{2})/$', 'myview'),
>
>
> Personally I'd go with the last example in this case.
>
That one worked perfectly. I had a brain cramp about t
\w don't match '-', so use [\w-]+ instead.
but this regx is not accurate.
have a look at this
http://code.djangoproject.com/browser/djangoproject.com/django_website/apps/blog/urls.py
On 5/5/08, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
> I've been trying to do something that I *think* should b
Chris Hartjes wrote on 05/05/08 02:53:
> I've been trying to do something that I *think* should be simple,
> but apparently is not. Or, the more likely answer is that I am missing
> something pretty obvious. I spent some time googling around for the answer
> but didn't find what I was looking fo
I've been trying to do something that I *think* should be simple,
but apparently is not. Or, the more likely answer is that I am missing
something pretty obvious. I spent some time googling around for the answer
but didn't find what I was looking for. So here goes.
I'm building a web service to
4 matches
Mail list logo