blob: 89dac8094a1ebb0d6f1d4b233675a459dd5b0134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from django.conf import settings
from django.conf.urls.defaults import patterns, include, url
from django.conf.urls.static import static
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^projekte/', include('projects.urls')),
url(r'^', include('news.urls')),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|