# Path: cab/views/snippets.py
# def snippet_list(request, queryset=None, **kwargs):
# def snippet_detail(request, snippet_id):
# def download_snippet(request, snippet_id):
# def raw_snippet(request, snippet_id):
# def rate_snippet(request, snippet_id):
# def edit_snippet(request, snippet_id=None, template_name="cab/edit_snippet.html"):
# def flag_snippet(request, snippet_id, template_name="cab/flag_snippet.html"):
# def author_snippets(request, username):
# def matches_tag(request, slug):
# def search(request):
# def autocomplete(request):
# def tag_hint(request):
# def basic_search(request):
# def advanced_search(request):


from django.urls import path
from ..views import snippets


urlpatterns = [
    path("", snippets.snippet_list, name="cab_snippet_list"),
    path("<int:snippet_id>/", snippets.snippet_detail, name="cab_snippet_detail"),
    path("<int:snippet_id>/rate/", snippets.rate_snippet, name="cab_snippet_rate"),

# Path: cab/views/snippets.py
# def snippet_list(request, queryset=None, **kwargs):
# def snippet_detail(request, snippet_id):
# def download_snippet(request, snippet_id):
# def raw_snippet(request, snippet_id):
# def rate_snippet(request, snippet_id):
# def edit_snippet(request, snippet_id=None, template_name="cab/edit_snippet.html"):
# def flag_snippet(request, snippet_id, template_name="cab/flag_snippet.html"):
# def author_snippets(request, username):
# def matches_tag(request, slug):
# def search(request):
# def autocomplete(request):
# def tag_hint(request):
# def basic_search(request):
# def advanced_search(request):


# Path: cab/urls/snippets.py
from django.urls import path
from ..views import snippets



urlpatterns = [
    path("", snippets.snippet_list, name="cab_snippet_list"),
    path("<int:snippet_id>/", snippets.snippet_detail, name="cab_snippet_detail"),
    path("<int:snippet_id>/rate/", snippets.rate_snippet, name="cab_snippet_rate"),

    path("<int:snippet_id>/download/", snippets.download_snippet, name="cab_snippet_download"),