Hello Javier,
On Thu, Dec 10, 2009 at 09:04:10AM -0500, Javier Guerra wrote:
> urlpatterns = patterns('',
>...
>(r'^apps/$', list_detail.object_list,
> {'queryset': App.objects.all()},
> 'app-list')),
> )
>
> urlpatterns += patterns('',
>(r'^app/new/$': create_update.create_ob
On Thu, Dec 10, 2009 at 7:10 AM, Baurzhan Ismagulov wrote:
> When I try this, I get NoReverseMatch at /apps/: Reverse for 'app-list'
> with arguments '()' and keyword arguments '{}' not found.
>
> I'd like to avoid hard-coding URLs. Is there a way to do that?
the problem is that the call to reve
Hello,
Can I use reverse() in urlpatterns, similar to the following?
urlpatterns = patterns('',
...
(r'^apps/$', list_detail.object_list,
{'queryset': App.objects.all()},
'app-list'),
(r'^app/new/$': create_update.crea
3 matches
Mail list logo