19 lines
699 B
Python
19 lines
699 B
Python
from django.urls import path, register_converter
|
|
from . import views,converters
|
|
|
|
register_converter(converters.AutoPageConverter,'autopage')
|
|
|
|
urlpatterns=[
|
|
path('',views.index,name='idex'),
|
|
path('contact',views.contact,name='contact'),
|
|
path('comment',views.comment,name='shoutbox'),
|
|
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'),
|
|
path('md.rss',views.md,name='md'),
|
|
path('me.vcf',views.vcard,name='vcard'),
|
|
path('<autopage:page>',views.autopage,name='everything'),
|
|
] |