diff options
Diffstat (limited to 'app/posts/urls.py')
-rw-r--r-- | app/posts/urls.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/posts/urls.py b/app/posts/urls.py new file mode 100644 index 0000000..ea96e92 --- /dev/null +++ b/app/posts/urls.py @@ -0,0 +1,13 @@ +from django.urls import path, re_path + +from . import views + +app_name = "posts" + +urlpatterns = [ + path( + r'', + views.PostListView.as_view(), + name="list" + ), +] |