svthalia/concrexit

View on GitHub
website/thabloid/urls.py

Summary

Maintainability
A
55 mins
Test Coverage
"""The routes defined by the thabloid package."""
from django.urls import include, path

from . import views

app_name = "thabloid"

urlpatterns = [
    path(
        "members/",
        include(
            [
                path(
                    "thabloid/",
                    include(
                        [
                            path("", views.index, name="index"),
                            path(
                                "<int:year>/<int:issue>/",
                                views.thabloid,
                                name="detail",
                            ),
                        ]
                    ),
                )
            ]
        ),
    )
]