18 lines
399 B
Python
18 lines
399 B
Python
"""URLs for the feeds app."""
|
|
|
|
from django.urls import path
|
|
|
|
from feeds.views import APIView, FeedsView, IndexView, add_feeds
|
|
|
|
app_name = "feeds"
|
|
|
|
urlpatterns = [
|
|
# /
|
|
path("", IndexView.as_view(), name="index"),
|
|
# /feeds
|
|
path("feeds", FeedsView.as_view(), name="feeds"),
|
|
# /add
|
|
path("add", add_feeds, name="add"),
|
|
# /api
|
|
path("api", APIView.as_view(), name="api"),
|
|
]
|