I think you have to remove the opening/closing brackets inside your regex pattern. Your regex currently means "one character that is a digit or a plus sign".
Cheers, Joongi Kim On 8월4일, 오후4시09분, gentlestone <tibor.b...@hotmail.com> wrote: > I've got this error message: > --------------- > Reverse for 'keyword-modify' with arguments '()' and keyword > arguments '{'id': '10'}' not found. > ----------------- > My URL definition is: > --------- > url(r'^keyword/modify/(?P<id>[\d+])/$', 'klucoveSlovo_update', > name = 'keyword-modify'), > --------------------- > My view code is: > ---------------- > itemDict['edit_link'] = reverse('keyword-modify', kwargs = > { 'id' : str(klucoveSlovo.id) }) > ------------------ > It works while the klucoveSlovo.id is less then 10. The regex d+ is > for one ore more digits. So what's wrong? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---