~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to local_urls.py.sample

  • Committer: franku
  • Date: 2018-04-03 18:57:40 UTC
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: somal@arcor.de-20180403185740-kid24y7oa6u6il09
fixed creation of noticetypes -> convert post_syncdb to post_migrate

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from django.conf.urls import *
2
2
from django.conf import settings
3
 
 
 
3
from django.views.static import serve
4
4
 
5
5
local_urlpatterns = [
6
6
   url(r'^wlmedia/(?P<path>.*)$',
7
 
       'django.views.static.serve',
 
7
       serve,
8
8
       {'document_root': settings.STATIC_MEDIA_PATH},
9
9
       name='static_media'),
10
10
   url(r'^media/(?P<path>.*)$',
11
 
       'django.views.static.serve',
 
11
       serve,
12
12
       {'document_root': settings.STATIC_MEDIA_PATH},
13
13
       name='static_media_pybb'),
14
14
]