On 22/08/2013 15:47, Nkansah Rexford wrote:
Here my project urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns(''
url(r'^admin/', include(admin.site.urls)),
url(r'^$', include('search.urls')),
)
Hi,
It seems you forgot to add a comma after the two single quotes. You
should be something like this:
urlpatterns = patterns('',
Also, you need to import 'admin' if you want to use 'admin.site.url'.
from django.contrib import admin
Best regards,
--
Laurent Meunier <laur...@deltalima.net>
--
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.
For more options, visit https://groups.google.com/groups/opt_out.