2022-01-26 19:51:03 +11:00
|
|
|
from django.urls import path, register_converter
|
|
|
|
from . import views,converters
|
|
|
|
|
|
|
|
register_converter(converters.AutoPageConverter,'autopage')
|
2022-02-27 23:23:26 +11:00
|
|
|
register_converter(converters.RedirectConverter,'redirect')
|
2021-09-18 21:37:18 +10:00
|
|
|
|
|
|
|
urlpatterns=[
|
|
|
|
path('',views.index,name='idex'),
|
|
|
|
path('contact',views.contact,name='contact'),
|
2022-01-02 22:04:47 +11:00
|
|
|
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'),
|
2022-02-27 23:23:26 +11:00
|
|
|
path('r/<redirect: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'),
|
2022-01-26 19:51:03 +11:00
|
|
|
path('<autopage:page>',views.autopage,name='everything'),
|
2021-09-18 21:37:18 +10:00
|
|
|
]
|