I have this:

from django.conf.urls import patterns, include, url

from django.contrib import admin, admindocs
import blog_app

admin.autodiscover()

patterns = patterns('',
    url(r'^admin/doc/', include(admindocs.urls)),
    url(r'^blog/', include(blog_app.urls)),
    url(r'^admin/', include(admin.site.urls)),
)

i am using virtualenv, django 1.6

I get this error:

Exception Value:

'module' object has no attribute 'urls'

Exception Location:
/home/jcg/code/python/venvs/joelgoldstick.com.16/blog/blog/urls.py in
<module>, line 9

It worked earlier today.  I think I have a typo but can't find it.

-- 
Joel Goldstick
http://joelgoldstick.com

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAPM-O%2ByT4kZJZmVzsLFrvsYo7qtjgzGeuNOKwx8GQERxLcV2_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to