rakkapy/main/urls.py

19 lines
699 B
Python
Raw Normal View History

from django.urls import path, register_converter
from . import views,converters
register_converter(converters.AutoPageConverter,'autopage')
2021-09-18 21:37:18 +10:00
urlpatterns=[
path('',views.index,name='idex'),
path('contact',views.contact,name='contact'),
path('comment',views.comment,name='shoutbox'),
2021-09-18 21:37:18 +10:00
path('specs',views.specs,name='specs'),
path('songs',views.songs,name='songs'),
path('nerdshope',views.nerdshope,name='shop'),
path('teapot',views.teapot,name='teapot'),
path('toask',views.articles,name='articles'),
path('r/<path:src>',views.redirect,name='redirect'),
2021-09-18 21:37:18 +10:00
path('md.rss',views.md,name='md'),
2021-11-10 02:45:32 +11:00
path('me.vcf',views.vcard,name='vcard'),
path('<autopage:page>',views.autopage,name='everything'),
2021-09-18 21:37:18 +10:00
]