@@ -2,15 +2,16 @@ from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.contrib.staticfiles.templatetags.staticfiles import static as _static
from django.views.generic import TemplateView
from django.views.generic import RedirectView
from django.contrib import admin
from pinaxcon import views
import symposion.views
urlpatterns = [
url(r"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"),
@@ -75,6 +76,8 @@ urlpatterns = [
# Catch-all MUST go last.
#url(r"^", include("pinax.pages.urls")),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
handler500 = views.server_error