Commits

funkybob  committed 9551b58

Fixed import errors in urls

  • Participants
  • Parent commits 373e5f7

Comments (0)

Files changed (1)

File gnocchi/faq/urls.py

-from django.conf.urls import pattrerns, url
+from django.conf.urls.defaults import patterns
 
-from gnocchi.cms.models import Category
+from gnocchi.faq.models import Category
 from django.views.generic import DetailView
 
 urlpatterns = patterns('',
-    ('^(?P<pk>\d+)/$', DetailView(model=Category), ),
-    ('^(?P<slug>[-\w]+)/$', DetailView(model=Category, slug_field='slug'), ),
+    ('^(?P<pk>\d+)/$', DetailView(model=Category)),
+    ('^(?P<slug>[-\w]+)/$', DetailView(model=Category, slug_field='slug')),
 )