napisał(a):
> On 25/09/10 20:39, CarloRatm wrote:
>> http://pastebin.com/aY6tZm6j
>>
>> What's wrong with that code ?
>>
>> Thank you,
>> cheers
>>
>
> ^blog/ ^(?P<object_id>d+)$
>
> should be
>
> ^blog/ ^(?P<object_id>\d+)/$
>
> ??
>
> Tim.
>
use raw definitions like django docs says.
And why do u put ^ witch means beginning of the string in the middle?
That i think would be correct:
r'^articles/(?P<object_id>\d+)/$'
--
Linux user
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment