Dave
unread,May 8, 2009, 11:12:22 PM5/8/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Basic Apps
Can someone explain how to get media setup?
in urls.py I have:
7 urlpatterns = patterns('',
8 #(r'^bookmarks/', include('basic.bookmarks.urls')),
9 (r'^comments/', include('django.contrib.comments.urls')),
10 (r'^blog/', include('basic.blog.urls')),
11 #
12 (r'^people/', include('basic.people.urls')),
13 (r'^places/', include('basic.places.urls')),
14 (r'^events/', include('basic.events.urls')),
15 (r'^media/', include('basic.media.urls')),
16 # Uncomment this for admin:
17 (r'^admin/', include(admin.site.urls))
18 )
When I run my server and go to 192:168.1.1:8080/blog I get:
Caught an exception while rendering: The included urlconf
basic.media.urls doesn't have anypatterns in it
When I run my server and go to 192:168.1.1:8080/media I get:
Permission denied: /usr/lib/python2.5/site-packages/django/contrib/
admin/media/
Clearly, I'm not searching the correct path.
I am also having issues getting bookmarks to work?
Thanks,
Dave