Addressbook
- location field.. has to be refactored
This commit is contained in:
11
location_field/urls.py
Normal file
11
location_field/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.conf.urls.defaults import patterns
|
||||
|
||||
import os
|
||||
|
||||
app_dir = os.path.dirname(__file__)
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
(r'^media/(.*)$', 'django.views.static.serve', {
|
||||
'document_root': '%s/media' % app_dir}),
|
||||
)
|
||||
Reference in New Issue
Block a user