2015-10-16 17:53:02 +00:00
|
|
|
from django.conf import settings
|
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from django.conf.urls.static import static
|
|
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
import symposion.views
|
|
|
|
|
|
|
|
|
2016-02-27 22:55:59 +00:00
|
|
|
urlpatterns = [
|
2015-10-16 17:53:02 +00:00
|
|
|
url(r"^$", TemplateView.as_view(template_name="homepage.html"), name="home"),
|
2017-06-08 00:51:13 +00:00
|
|
|
|
|
|
|
url(r"^about$", TemplateView.as_view(template_name="pages/about.html"), name="page_about"),
|
|
|
|
url(r"^venue$", TemplateView.as_view(template_name="pages/venue.html"), name="page_venue"),
|
|
|
|
url(
|
|
|
|
r"^sponsors/info$",
|
|
|
|
TemplateView.as_view(template_name="pages/sponsors/info.html"),
|
|
|
|
name="page_sponsor_info",
|
|
|
|
),
|
|
|
|
|
2015-10-16 17:53:02 +00:00
|
|
|
url(r"^admin/", include(admin.site.urls)),
|
|
|
|
|
|
|
|
url(r"^account/", include("account.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")),
|
|
|
|
|
2016-09-21 00:46:52 +00:00
|
|
|
# Demo payment gateway and related features
|
|
|
|
url(r"^register/pinaxcon/", include("pinaxcon.registrasion.urls")),
|
|
|
|
|
|
|
|
# Demo payment gateway and related features
|
|
|
|
url(r"^register/payments/", include("registripe.urls")),
|
|
|
|
|
2016-03-30 04:13:50 +00:00
|
|
|
# Required by registrasion
|
|
|
|
url(r'^register/', include('registrasion.urls')),
|
|
|
|
url(r'^nested_admin/', include('nested_admin.urls')),
|
|
|
|
|
2016-09-01 23:59:10 +00:00
|
|
|
url(r"^boxes/", include("pinax.boxes.urls")),
|
|
|
|
|
|
|
|
# Catch-all MUST go last.
|
|
|
|
#url(r"^", include("pinax.pages.urls")),
|
2016-02-27 22:55:59 +00:00
|
|
|
]
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|