File: urls.py

package info (click to toggle)
django-guardian 2.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,732 kB
  • sloc: python: 5,987; javascript: 1,396; makefile: 91; sh: 12
file content (8 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
from django.urls import path

from posts import views

urlpatterns = [
    path('', views.post_list, name='posts_post_list'),
    path('<slug:slug>', views.post_detail, name='posts_post_detail'),
]