mirror of
https://github.com/creyD/asiimov.git
synced 2026-06-12 09:02:23 +02:00
36 lines
1.4 KiB
Python
36 lines
1.4 KiB
Python
# Default routing imports
|
|
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.dashboard, name='home'),
|
|
|
|
# Core Functionality
|
|
path('offers/', views.offer_overview, name='offer_overview'),
|
|
path('offers/<int:offerID>', views.offer, name='offer'),
|
|
path('offers/<int:offerID>/refresh', views.offer_refresh, name='offer_refresh'),
|
|
path('offers/<int:offerID>', views.offer_delete, name='offer_delete'),
|
|
path('offers/create', views.offer_create, name='offer_create'),
|
|
path('search/<str:filter>', views.search, name='search'),
|
|
|
|
# Profile Area
|
|
path('profile/<int:steamID>', views.profile, name='profile'),
|
|
path('profile/<int:steamID>/update', views.profile_update, name='profile_update'),
|
|
path('profile/<int:steamID>/inventory', views.profile_inventory, name='profile_inventory'),
|
|
path('profile/<int:steamID>/inventory/update', views.profile_inventory_update, name='profile_inventory_update'),
|
|
|
|
# Redirects for the me area
|
|
path('me', views.me, name='me'),
|
|
path('me/settings', views.me_settings, name='me_settings'),
|
|
path('me/inventory', views.me_inventory, name='me_inventory'),
|
|
|
|
# Static Pages
|
|
path('help', views.help, name='help'),
|
|
path('imprint', views.imprint, name='imprint'),
|
|
path('about', views.about, name='about'),
|
|
|
|
# OpenID Redirects
|
|
path('signup', views.signup, name='signup'),
|
|
path('signup_confirm', views.signup_confirm)
|
|
]
|