chol
/
eva
forked from tohe/eva
1
0
Fork 0

some admin.js stuff deleted because it only works with login

This commit is contained in:
Benni Bärmann 2021-01-05 13:05:34 +01:00
parent 82ab5f4eae
commit 229f35f816
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
from django.db import models
from django.contrib.admin.widgets import AdminDateWidget
from django.forms import ModelForm, DateInput
from .models import Employee

View File

@ -1,6 +1,7 @@
{% load i18n %}
{% load static %}
<script type="text/javascript" src="/admin/jsi18n/"></script>
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
@ -10,9 +11,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
{% load i18n %}
{% block content %}
<center>
<style>
ul > li {
@ -39,4 +38,5 @@
</table>
<button type="submit" value="submit">Abschicken</button>
</form>
</center>{% endblock %}
</center>
{% endblock %}