mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Moved UI into its own Django app.
This commit is contained in:
12
lib/ui/views.py
Normal file
12
lib/ui/views.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from django.views.generic.base import TemplateView
|
||||
|
||||
class IndexView(TemplateView):
|
||||
|
||||
template_name = 'ui/index.html'
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(IndexView, self).get_context_data(**kwargs)
|
||||
# Add any additional context info here.
|
||||
return context
|
||||
|
||||
index = IndexView.as_view()
|
||||
Reference in New Issue
Block a user