404.2.3
by franku
forgotton adjusting sample files |
1 |
from django.conf.urls import * |
173.3.1
by Holger Rapp
added local sample |
2 |
from django.conf import settings |
489.1.3
by franku
fixed creation of noticetypes -> convert post_syncdb to post_migrate |
3 |
from django.views.static import serve |
479.2.8
by franku
cleanups |
4 |
from os import path |
479.2.16
by franku
merged with trunk |
5 |
|
479.2.4
by franku
use WIDELANDS_SVN_DIR for serving static html |
6 |
# Don't use this file on the server!
|
7 |
||
404.2.29
by franku
urlpatterns are lists; patterns are deprecated |
8 |
local_urlpatterns = [ |
508.1.5
by franku
fixed local_urls.py |
9 |
# Files uploaded by users
|
173.3.1
by Holger Rapp
added local sample |
10 |
url(r'^wlmedia/(?P<path>.*)$', |
489.1.3
by franku
fixed creation of noticetypes -> convert post_syncdb to post_migrate |
11 |
serve, |
508.1.5
by franku
fixed local_urls.py |
12 |
{'document_root': settings.MEDIA_ROOT}, |
173.3.1
by Holger Rapp
added local sample |
13 |
name='static_media'), |
508.1.7
by franku
minor string change |
14 |
# Static files if DEBUG=False. Use the 'collectstatic' command to fetch them
|
508.1.1
by franku
adapted to django default static file handling |
15 |
url(r'^static/(?P<path>.*)$', |
489.1.3
by franku
fixed creation of noticetypes -> convert post_syncdb to post_migrate |
16 |
serve, |
508.1.1
by franku
adapted to django default static file handling |
17 |
{'document_root': settings.STATIC_ROOT}, |
508.1.11
by franku
addressed code review; fixed an error for links with no texts; fixed loading lightbox_v2 css |
18 |
name='static_media_collected'), |
508.1.1
by franku
adapted to django default static file handling |
19 |
# HTML documentation created by ./manage.py create_docs
|
479.2.31
by franku
make local url work again |
20 |
url(r'^documentation/(?P<path>.*)$', |
21 |
serve, |
|
508.1.1
by franku
adapted to django default static file handling |
22 |
{'document_root': path.join( |
508.1.5
by franku
fixed local_urls.py |
23 |
settings.MEDIA_ROOT, 'documentation/html')}, |
508.1.1
by franku
adapted to django default static file handling |
24 |
name='documentation') |
404.2.29
by franku
urlpatterns are lists; patterns are deprecated |
25 |
]
|
508.1.1
by franku
adapted to django default static file handling |
26 |