blechreiz-website/blechreiz/urls.py

31 lines
1023 B
Python
Raw Normal View History

2013-05-28 15:20:06 +02:00
from django.conf.urls import patterns, include, url
from django.contrib import admin
import simpleforum.views
import eventplanner.urls
2013-09-29 16:22:42 +02:00
import musicians.urls
#import imagestore.urls
import website.urls
2014-02-15 18:07:00 +01:00
import scoremanager.urls
2013-09-29 16:22:42 +02:00
2014-03-08 22:36:25 +01:00
from eventplanner_gcal.views import *
2013-06-30 11:01:12 +02:00
import settings
from django.conf.urls.static import static
2013-06-18 22:49:01 +02:00
2013-05-28 15:20:06 +02:00
admin.autodiscover()
urlpatterns = patterns('',
url(r'^', include(website.urls) ),
2013-09-29 16:22:42 +02:00
url(r'^events/', include( eventplanner.urls.urlpatterns) ),
url(r'^musicians/', include( musicians.urls.urlpatterns) ),
2014-02-15 18:07:00 +01:00
url(r'^scores/', include( scoremanager.urls.urlpatterns) ),
2013-09-29 16:22:42 +02:00
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') ),
2014-03-08 22:36:25 +01:00
url(r'^eventSync/', runSync )
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)