File: urls.py

package info (click to toggle)
django-taggit 0.24.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 476 kB
  • sloc: python: 3,147; makefile: 77
file content (11 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from django.conf.urls import url

from .views import FoodTagListView

urlpatterns = [
    url(
        r"^food/tags/(?P<slug>[a-z0-9_-]+)/$",
        FoodTagListView.as_view(),
        name="food-tag-list",
    )
]