Move back to Python 🙃

This commit is contained in:
Joakim Hellsén 2024-02-18 22:00:28 +01:00
commit d7be14f5a2
60 changed files with 757 additions and 5605 deletions

13
feeds/urls.py Normal file
View file

@ -0,0 +1,13 @@
from __future__ import annotations
from django.urls import URLPattern, path
from feeds import views
app_name: str = "feeds"
urlpatterns: list[URLPattern] = [
path(route="", view=views.IndexView.as_view(), name="index"),
path(route="feed/<int:feed_id>/", view=views.FeedView.as_view(), name="feed"),
path(route="feeds/", view=views.FeedsView.as_view(), name="feeds"),
]