Move back to Python 🙃
This commit is contained in:
parent
f9d4ea8d4f
commit
d7be14f5a2
60 changed files with 757 additions and 5605 deletions
13
feeds/urls.py
Normal file
13
feeds/urls.py
Normal 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"),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue