blechreiz-website/blechreiz/urls.py

31 lines
1023 B
Python

from django.conf.urls import patterns, include, url
from django.contrib import admin
import simpleforum.views
import eventplanner.urls
import musicians.urls
#import imagestore.urls
import website.urls
import scoremanager.urls
from eventplanner_gcal.views import *
import settings
from django.conf.urls.static import static
admin.autodiscover()
urlpatterns = patterns('',
url(r'^', include(website.urls) ),
url(r'^events/', include( eventplanner.urls.urlpatterns) ),
url(r'^musicians/', include( musicians.urls.urlpatterns) ),
url(r'^scores/', include( scoremanager.urls.urlpatterns) ),
url(r'^messages/$', simpleforum.views.message_view ),
url(r'^admin/', include(admin.site.urls) ),
url(r'^location_field/', include('location_field.urls')),
#url(r'^gallery/', include(imagestore.urls, namespace='imagestore') ),
url(r'^eventSync/', runSync )
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)