svthalia/concrexit

View on GitHub
website/announcements/urls.py

Summary

Maintainability
A
1 hr
Test Coverage
"""The routes defined by this package."""
from django.urls import include, path

from announcements import views

#: the name of this app
app_name = "announcements"

#: the actual routes
urlpatterns = [
    path(
        "announcements/",
        include(
            [
                path(
                    "close-announcement",
                    views.close_announcement,
                    name="close-announcement",
                )
            ]
        ),
    )
]