c37ed61036
This should eradicate wagtail from the project. While wagtail may be nice, our goals are to keep all things public, and having things locked behidn a DB is congruent to that plan. All in all, the django project only leveraged a single wagtail feature, "richtext" which has been hacikly removed and will result in bad display of however it comes up. But this is on homepage.html, which will be removed and covered up with a static website, which means we should be able remove homepage entirely from this project. This reduction hopefully makes the monolith easier to understand, maintain, and wield.
39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
from django.conf import settings
|
|
from django.conf.urls import include, url
|
|
from django.conf.urls.static import static
|
|
from django.views.generic import TemplateView
|
|
|
|
from django.contrib import admin
|
|
|
|
import symposion.views
|
|
|
|
|
|
urlpatterns = [
|
|
url(r"^admin/", include(admin.site.urls)),
|
|
|
|
url(r"^dashboard/", symposion.views.dashboard, name="dashboard"),
|
|
|
|
url(r"^speaker/", include("symposion.speakers.urls")),
|
|
url(r"^proposals/", include("symposion.proposals.urls")),
|
|
url(r"^sponsors/", include("symposion.sponsorship.urls")),
|
|
url(r"^reviews/", include("symposion.reviews.urls")),
|
|
url(r"^schedule/", include("symposion.schedule.urls")),
|
|
|
|
url(r"^teams/", include("symposion.teams.urls")),
|
|
|
|
# Required by registrasion
|
|
url(r'^tickets/payments/', include('registripe.urls')),
|
|
url(r'^tickets/', include('registrasion.urls')),
|
|
url(r'^nested_admin/', include('nested_admin.urls')),
|
|
|
|
# Matches *NOTHING* -- remove once site_tree is fixed
|
|
url(r"^$", TemplateView.as_view(template_name="homepage.html"), name="home"),
|
|
|
|
]
|
|
|
|
if settings.DEBUG:
|
|
import debug_toolbar
|
|
urlpatterns.insert(0, url(r'^__debug__/', include(debug_toolbar.urls)))
|
|
|
|
|
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|