[views] add index view for uncloud

This commit is contained in:
Nico Schottelius 2020-12-25 10:11:13 +01:00
parent 50a395c8ec
commit 8dd4b712fb
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{% extends 'uncloud/base.html' %}
{% block title %}{% endblock %}
{% block body %}
<div>
<h1>Welcome to uncloud</h1>
Welcome to uncloud, checkout the following locations:
<ul>
<li><a href="/api/">The API</a>
<li><a href="/cc/reg/">The CC registration</a>
</ul>
</div>
{% endblock %}

4
uncloud/views.py Normal file
View file

@ -0,0 +1,4 @@
from django.views.generic.base import TemplateView
class UncloudIndex(TemplateView):
template_name = "uncloud/index.html"