venus-dashboard/venus_dashboard/log_detect/views.py
cuizc 858791af6b log detect ability develop
Change-Id: I79f9ecb248d3e7d2dce0f8f7e111fc59131acbdb
2024-02-23 16:43:44 +08:00

24 lines
760 B
Python

# Copyright 2024 Inspur
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from horizon import views
class IndexView(views.APIView):
template_name = 'log_detect/index.html'
def get_data(self, request, context, *args, **kwargs):
return context