Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
Tweaked local-media url
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jun 10, 2010
1 parent 28b9396 commit fc69082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -84,7 +84,7 @@ admin.site.register(Vote)</code></pre>
(r'^polls/(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),
(r'^polls/(?P<poll_id>\d+)/data.xml$', 'polls.views.data'),
(r'^crossdomain.xml$', 'polls.views.crossdomain'),
(r'^pages/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_DOC_ROOT }),</code></pre>
(r'^local-media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_DOC_ROOT }),</code></pre>

*16. create a view. in views.py*

Expand Down

0 comments on commit fc69082

Please sign in to comment.