Replaced useless syntaxer with general todos

This commit is contained in:
Zergling_man 2021-09-21 02:39:54 +10:00
parent dbb0f20d30
commit 16085e9422
3 changed files with 9 additions and 3 deletions

View File

@ -25,4 +25,5 @@ urlpatterns=[
re_path('r/(.*)',views.redirect,name='redirect'),
path('bikebunny',views.bikebunny,name='bikebunny'),
path('md.rss',views.md,name='md'),
path('todos',views.todo,name='todo'),
]

View File

@ -1,7 +1,8 @@
books,/books.php,Books,2
songs,/songs,Songs,0
syntax,/syntax,Syntaxer,0
pics,/pics/,Pics,2
syntax,/syntax,Syntaxer,2
todo,/todos,Todos,0
pics,/pics,Pics,2
wargame,https://gitlab.com/zergling-man/Wargamer,Wargamer,0
rinbot,/r/rinbot,Rinbot,0
survey,/emojisurvey.php,Survey,2

View File

@ -160,4 +160,8 @@ def bikebunny():
def md(req):
loop=asyncio.get_event_loop()
feed=loop.run_until_complete(mdl.makefeed(req.GET.getlist('ids','')))
return HttpResponse(feed, content_type='application/rss+xml')
return HttpResponse(feed, content_type='application/rss+xml')
@rerender
def todo():
return {'title':'Site TODOs','content':"Things to be done on the site:<br/><ul><li><strong><a href='/syntax'>Syntax checker</a></strong> - looking up syntax bits in different languages. Low priority.</li><li><strong>Become (opennic) DNS provider</strong> - strengthen Tasmania's infrastructure. Maybe become the authority for rakka.tk. Would be annoying without ip4. Anyway.</li><li><strong>Become arch/artix repository</strong> - Mostly just so I'm not constantly redownloading the same packgaes.</li><li><strong>Add DB</strong> - So that date modified is actually automatic kek</li></ul>",'date':'2021/09/21'}