Created
February 22, 2010 16:35
-
-
Save micktwomey/311233 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pkg_resources import resource_filename | |
(r"^media/(?P<path>.*)$", 'django.views.static.serve', {'document_root': resource_filename('django.contrib.admin', 'media')}), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment