Files
@ 34509d23eb9f
Branch filter:
Location: symposion_app/pinaxcon/urls.py - annotation
34509d23eb9f
1.6 KiB
text/x-python
Make vendored symposion into an installable Python package
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
252697b842c0 04f246d85071 04f246d85071 e52dbd9c5449 04f246d85071 252697b842c0 bfa94b8c5e55 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 ac7228ec5030 0b1da0e85e83 1d0d5e1d102d 1d0d5e1d102d 252697b842c0 252697b842c0 04f246d85071 252697b842c0 252697b842c0 252697b842c0 252697b842c0 252697b842c0 04f246d85071 252697b842c0 252697b842c0 04f246d85071 64b4d93470bd 64b4d93470bd a3474fd9cd4c 252697b842c0 252697b842c0 252697b842c0 252697b842c0 252697b842c0 252697b842c0 252697b842c0 252697b842c0 04f246d85071 252697b842c0 252697b842c0 252697b842c0 ac7228ec5030 252697b842c0 | import debug_toolbar
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic import RedirectView
from django.views.generic import TemplateView
from django.urls import include, path
from django.contrib.flatpages.views import flatpage
from django.contrib import admin
import symposion.views
urlpatterns = [
path('', TemplateView.as_view(template_name="homepage.html")),
path('saml2/', include('djangosaml2.urls')),
path('admin/', admin.site.urls),
path("speaker/", include("symposion.speakers.urls")),
path("proposals/", include("symposion.proposals.urls")),
path("reviews/", include("symposion.reviews.urls")),
path("schedule/", include("symposion.schedule.urls")),
path("conference/", include("symposion.conference.urls")),
path("teams/", include("symposion.teams.urls")),
path('raffle/', include("pinaxcon.raffle.urls")),
path("account/", include("account.urls")),
# Required by registrasion
path('tickets/payments/', include('registripe.urls')),
path('tickets/', include('registrasion.urls')),
path('nested_admin/', include('nested_admin.urls')),
path('checkin/', include('regidesk.urls')),
path('pages/', include('django.contrib.flatpages.urls')),
path('dashboard/', symposion.views.dashboard, name="dashboard"),
path('boardingpass', RedirectView.as_view(pattern_name="regidesk:boardingpass")),
# Debug Toolbar. Always include to ensure tests work.
path('__debug__/', include(debug_toolbar.urls)),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|