Thank you! I miss "url" at the beginning of all patterns :)
On 13 Грд, 17:14, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> On Dec 13, 2007 9:58 AM, sector119 <[EMAIL PROTECTED]> wrote:
>
> > urlpatterns = patterns('django.views.generic',
> > (r'^location/$', 'list_detail.object_list', location
On Dec 13, 2007 9:58 AM, sector119 <[EMAIL PROTECTED]> wrote:
> urlpatterns = patterns('django.views.generic',
> (r'^location/$', 'list_detail.object_list', location_list_info,
> name='locations-location_list'),
> )
In order to name your URLpatterns, you'll need to use the url() function.
ur
Hello,
I don't know what line is 13 but it seems to me that for the second
urlpatterns should be:
"""
urlpatterns += patterns(
"""
Let me know if this help.
On 13 déc, 15:58, sector119 <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> When I try to use Naming URL patterns I get error:
> Exception Type:
I use django current trunk, if this info is needed.
On 13 Грд, 16:58, sector119 <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> When I try to use Naming URL patterns I get error:
> Exception Type: ImproperlyConfigured
> Exception Value:Error while importing URLconf 'locations.urls':
> in
4 matches
Mail list logo