29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
from django.conf.urls import include, url
|
|
|
|
from django.contrib import admin
|
|
|
|
import simpleforum.views
|
|
|
|
import eventplanner.urls
|
|
import musicians.urls
|
|
import website.urls
|
|
import scoremanager.urls
|
|
import eventplanner_gcal.urls
|
|
|
|
from . import settings
|
|
from django.conf.urls.static import static
|
|
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = [
|
|
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/', admin.site.urls),
|
|
url(r'^location_field/', include('location_field.urls')),
|
|
url(r'^eventplanner_gcal/', include(eventplanner_gcal.urls)),
|
|
# url(r'^gallery/', include(imagestore.urls, namespace='imagestore') ),
|
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|