添加班级列表
This commit is contained in:
@@ -90,7 +90,8 @@ class WebsiteConfigAPI(APIView):
|
|||||||
def get(self, request):
|
def get(self, request):
|
||||||
ret = {key: getattr(SysOptions, key) for key in
|
ret = {key: getattr(SysOptions, key) for key in
|
||||||
["website_base_url", "website_name", "website_name_shortcut",
|
["website_base_url", "website_name", "website_name_shortcut",
|
||||||
"website_footer", "allow_register", "submission_list_show_all"]}
|
"website_footer", "allow_register", "submission_list_show_all",
|
||||||
|
"class_list"]}
|
||||||
return self.success(ret)
|
return self.success(ret)
|
||||||
|
|
||||||
@super_admin_required
|
@super_admin_required
|
||||||
|
|||||||
Reference in New Issue
Block a user