Remove asset restrictions and make asset groups smarter
This commit is contained in:
42
app/urls.py
42
app/urls.py
@@ -76,7 +76,7 @@ urlpatterns = [
|
||||
),
|
||||
path(
|
||||
f"{settings.ASSET_PATH}/<str:webhook_id>/",
|
||||
assets.AssetRestrictionAPI.as_view(),
|
||||
assets.AssetGroupAPI.as_view(),
|
||||
name="asset",
|
||||
),
|
||||
path("signals/<str:type>/", signals.SignalList.as_view(), name="signals"),
|
||||
@@ -264,26 +264,26 @@ urlpatterns = [
|
||||
name="assetgroup_delete",
|
||||
),
|
||||
# Asset Restrictions
|
||||
path(
|
||||
"restriction/<str:type>/<str:group>/",
|
||||
assets.AssetRestrictionList.as_view(),
|
||||
name="assetrestrictions",
|
||||
),
|
||||
path(
|
||||
"restriction/<str:type>/create/<str:group>/",
|
||||
assets.AssetRestrictionCreate.as_view(),
|
||||
name="assetrestriction_create",
|
||||
),
|
||||
path(
|
||||
"restriction/<str:type>/update/<str:group>/<str:pk>/",
|
||||
assets.AssetRestrictionUpdate.as_view(),
|
||||
name="assetrestriction_update",
|
||||
),
|
||||
path(
|
||||
"restriction/<str:type>/delete/<str:group>/<str:pk>/",
|
||||
assets.AssetRestrictionDelete.as_view(),
|
||||
name="assetrestriction_delete",
|
||||
),
|
||||
# path(
|
||||
# "restriction/<str:type>/<str:group>/",
|
||||
# assets.AssetRestrictionList.as_view(),
|
||||
# name="assetrestrictions",
|
||||
# ),
|
||||
# path(
|
||||
# "restriction/<str:type>/create/<str:group>/",
|
||||
# assets.AssetRestrictionCreate.as_view(),
|
||||
# name="assetrestriction_create",
|
||||
# ),
|
||||
# path(
|
||||
# "restriction/<str:type>/update/<str:group>/<str:pk>/",
|
||||
# assets.AssetRestrictionUpdate.as_view(),
|
||||
# name="assetrestriction_update",
|
||||
# ),
|
||||
# path(
|
||||
# "restriction/<str:type>/delete/<str:group>/<str:pk>/",
|
||||
# assets.AssetRestrictionDelete.as_view(),
|
||||
# name="assetrestriction_delete",
|
||||
# ),
|
||||
# Asset group filters
|
||||
path(
|
||||
"assetfilter/<str:group_id>/flip/<str:symbol>/",
|
||||
|
||||
Reference in New Issue
Block a user