Add all models to admin site and tweak some documentation
This commit is contained in:
@@ -18,7 +18,8 @@ log = logs.get_logger(__name__)
|
||||
class AssetGroupList(LoginRequiredMixin, ObjectList):
|
||||
list_template = "partials/assetgroup-list.html"
|
||||
model = AssetGroup
|
||||
page_title = "List of asset groups for restrictions. Linked to accounts."
|
||||
page_title = "List of asset groups for restrictions. Linked to strategies."
|
||||
page_subtitle = "Asset groups are collections of asset restrictions."
|
||||
|
||||
list_url_name = "assetgroups"
|
||||
list_url_args = ["type"]
|
||||
@@ -64,6 +65,7 @@ class AssetRestrictionList(
|
||||
list_template = "partials/assetrestriction-list.html"
|
||||
model = AssetRestriction
|
||||
page_title = "List of asset restrictions. Linked to asset groups."
|
||||
page_subtitle = "Allows API calls to permit or prohibit trading on defined currency pairs."
|
||||
|
||||
list_url_name = "assetrestrictions"
|
||||
list_url_args = ["type", "group"]
|
||||
|
||||
Reference in New Issue
Block a user