<filename>src/organizer/urls.py<gh_stars>10-100
"""URL paths for Organizer App"""
from django.urls import path

from .views import (
    NewsLinkCreate,
    NewsLinkDelete,
    NewsLinkDetail,
    NewsLinkUpdate,
    StartupCreate,
    StartupDelete,
    StartupDetail,
    StartupList,
    StartupUpdate,
    TagCreate,
    TagDelete,
    TagDetail,
    TagList,
    TagUpdate,
)

urlpatterns = [
    path(
        "startup/",
        StartupList.as_view(),
        name="startup_list",
    ),
    path(
        "startup/create/",
        StartupCreate.as_view(),
        name="startup_create",
    ),
    path(
        "startup/<str:slug>/",
        StartupDetail.as_view(),
        name="startup_detail",
    ),
    path(
        "startup/<str:slug>/delete/",
        StartupDelete.as_view(),
        name="startup_delete",
    ),
    path(
        "startup/<str:slug>/update/",
        StartupUpdate.as_view(),
        name="startup_update",
    ),
    path(
        "startup/<str:startup_slug>/add_article/",
        NewsLinkCreate.as_view(),
        name="newslink_create",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/",
        NewsLinkDetail.as_view(),
        name="newslink_detail",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/"
        "delete/",
        NewsLinkDelete.as_view(),
        name="newslink_delete",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/"
        "update/",
        NewsLinkUpdate.as_view(),
        name="newslink_update",
    ),
    path("tag/", TagList.as_view(), name="tag_list"),
    path(
        "tag/create/",
        TagCreate.as_view(),
        name="tag_create",
    ),
    path(
        "tag/<str:slug>/",
        TagDetail.as_view(),
        name="tag_detail",
    ),
    path(
        "tag/<str:slug>/update/",
        TagUpdate.as_view(),
        name="tag_update",
    ),
    path(
        "tag/<str:slug>/delete/",
        TagDelete.as_view(),
        name="tag_delete",
    ),
]

<filename>src/organizer/urls.py<gh_stars>10-100
"""URL paths for Organizer App"""
from django.urls import path

from .views import (
    NewsLinkCreate,
    NewsLinkDelete,
    NewsLinkDetail,
    NewsLinkUpdate,
    StartupCreate,
    StartupDelete,
    StartupDetail,
    StartupList,
    StartupUpdate,
    TagCreate,
    TagDelete,
    TagDetail,
    TagList,
    TagUpdate,
)

urlpatterns = [
    path(
        "startup/",
        StartupList.as_view(),
        name="startup_list",
    ),
    path(
        "startup/create/",
        StartupCreate.as_view(),
        name="startup_create",
    ),
    path(
        "startup/<str:slug>/",
        StartupDetail.as_view(),
        name="startup_detail",
    ),
    path(
        "startup/<str:slug>/delete/",
        StartupDelete.as_view(),
        name="startup_delete",
    ),
    path(
        "startup/<str:slug>/update/",
        StartupUpdate.as_view(),
        name="startup_update",
    ),
    path(
        "startup/<str:startup_slug>/add_article/",
        NewsLinkCreate.as_view(),
        name="newslink_create",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/",
        NewsLinkDetail.as_view(),
        name="newslink_detail",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/"
        "delete/",
        NewsLinkDelete.as_view(),
        name="newslink_delete",
    ),
    path(
        "startup/<str:startup_slug>/<str:newslink_slug>/"
        "update/",
        NewsLinkUpdate.as_view(),
        name="newslink_update",
    ),
    path("tag/", TagList.as_view(), name="tag_list"),
    path(
        "tag/create/",
        TagCreate.as_view(),
        name="tag_create",
    ),
    path(
        "tag/<str:slug>/",
        TagDetail.as_view(),
        name="tag_detail",
    ),
    path(
        "tag/<str:slug>/update/",
        TagUpdate.as_view(),
        name="tag_update",
    ),
    path(
        "tag/<str:slug>/delete/",
        TagDelete.as_view(),
        name="tag_delete",
    ),
]

URL paths for Organizer App