Skip to content

Commit

Permalink
feat(apis_entities): drop old version style urls
Browse files Browse the repository at this point in the history
They are not being used anywhere

Closes: #1196
  • Loading branch information
b1rger committed Sep 26, 2024
1 parent 3c0136d commit 2f85686
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions apis_core/apis_entities/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
EntitiesDuplicate,
EntitiesMerge,
)
from apis_core.generic.views import Create, Delete, Detail, List


class EntityToContenttypeConverter:
Expand Down Expand Up @@ -46,26 +45,6 @@ def to_url(self, value):
app_name = "apis_entities"

entity_patterns = [
path(
"list/",
List.as_view(),
name="generic_entities_list",
),
path(
"create/",
Create.as_view(),
name="generic_entities_create_view",
),
path(
"<int:pk>/detail/",
Detail.as_view(),
name="generic_entities_detail_view",
),
path(
"<int:pk>/delete/",
Delete.as_view(),
name="generic_entities_delete_view",
),
path(
"<int:pk>/duplicate/",
EntitiesDuplicate.as_view(),
Expand Down

0 comments on commit 2f85686

Please sign in to comment.