Commit f3d8842a authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Deletion of users view

I deleted the users view that was here just for a test purpose.

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent b5df5582
......@@ -4,7 +4,6 @@ from . import views
urlpatterns = [
url(r'^$', views.index, name="poc_home"),
url(r'^users/', views.user),
url(r'^webapps/$', views.list_webapps, name='list_webapps'),
url(r'^apps/$', views.WebappList.as_view(), name='webapp_list'),
url('^auth/', include('django.contrib.auth.urls')),
......@@ -3,7 +3,6 @@ from django.shortcuts import render
from django.urls import reverse_lazy
from django.views.generic import CreateView, ListView
from django.contrib.auth.models import User
from .models import Webapp
......@@ -11,12 +10,6 @@ def index(request):
return render(request, "home.html")
def user(request):
# quotas = Quota.objects.all()
users = User.objects.all()
return render(request, "user.html", locals())
def list_webapps(request):
webapps = Webapp.objects.all()
return render(request, "webapps.html", locals())
{% extends "base.html" %}
{% block title %}Test users{% endblock %}
{% block content %}
<th>User ID (quota) / User ID (user)</th>
<th>Webapp ID</th>
{% for user in users %}
<td>{{ }}</td>
<td>{{ user.allgouser.sshkey }} | {{ }}</td>
<td>{{ quota.quantity }}</td>
<td>{{ quota.webapp_id }}</td>
{% endfor %}
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment