Warning: This is a port from 0.97 to 1.3.7 (thanks DR) The front end of the site is working just the admin is being difficult SyntaxError at /admin/honorary/member/
invalid syntax (urls.py, line 10) location /home/paston2/webapps/sevenkbw/lib/python2.7/django/utils/importlib.py in import_module, line 35 requested url http://7kbw.paston2.webfactional.com/admin/honorary/member/ looking at the traceback and the local vars within it appears that the admin is having a problem with sitename.urls this is the urls.py from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^r/', include('django.conf.urls.shortcut')), (r'^admin/', include(admin.site.urls)), (r'^admin/auth/user/(?P<user_id>\d+)/activate/$','userprofile.admin-views.activate_user', name="user_activate"), (r'^admin/userprofile/csv_export/','userprofile.admin-views.csv_export',name="csv_export"), (r'^admin/userprofile/userprofile/add/','userprofile.admin-views.add_user',name="admin_add_user"), (r'^admin/articles/article/add/$', 'articles.views.add_article'), (r'^admin/articles/article/(?P<id>\d+)/$','articles.views.change_article'), (r'^admin/cvmailer/$', 'barristers.views.cv_mailer'), (r'^accessibility/', include('accessibility.urls')), (r'^contact-us/', include('contact.urls')), (r'^news/', include('news.urls')), (r'^links/', include('links.urls')), (r'^barristers/', include('barristers.urls')), (r'^what-the-directories-say/$', 'quotes.views.quote_list'), (r'^quotes/(?P<directory_slug>.+)/(?P<category_pk>\d+)/$','quotes.views.quote_list'), (r'^quotes/(?P<directory_slug>.+)/$','quotes.views.quote_list'), (r'^practice-areas/(?P<practicearea>.*)/$', 'barristers.views.index'), (r'^sesttectors/(?P<practicearea>.*)/$', 'barristers.views.practicearea'), (r'^training/', include('training.urls')), (r'^servecv/(?P<slug>.*)/$', 'barristers.views.serve_cv_for_pdf'), (r'^sendmyshortlist/$', 'barristers.views.mailshortlist'), (r'^accounts/', include('userprofile.urls')), #(r'^rss/', include('feeds.urls')), (r'^articles/$', 'news.views.article_list'), (r'^article/(?P<news_id>\d+)/$', 'news.views.article'), (r'^articles/archive/$', 'news.views.article_archive'), (r'^cases/$', 'news.views.case_list'), (r'^cases/(?P<practicearea_slug>.*)/$', 'news.views.case_list'), (r'^case/(?P<news_id>\d+)/$', 'news.views.case'), (r'^expertise/(?P<practicearea_slug>.*)/$', 'barristers.views.expertise'), (r'^search/', 'search.views.do_search'), (r'^honorary/pdf/(?P<id>\d+)/$', 'honorary.views.render_to_pdf'), (r'^honorary/(?P<id>\d+)/$', 'honorary.views.honorary_member'), (r'^user/', include('sevenkbw.userprofile.urls')), (r'^', include('smartpages.urls')), ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ccb717e4-7e75-42ce-9940-e1127fc30f50%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.