From 229f35f8163866028b6ac8e35307d0e464e0b57a Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Tue, 5 Jan 2021 13:05:34 +0100 Subject: [PATCH] some admin.js stuff deleted because it only works with login --- evapp/forms.py | 1 - evapp/templates/evapp/employee_form.html | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/evapp/forms.py b/evapp/forms.py index b30bfc4..8d6a22b 100644 --- a/evapp/forms.py +++ b/evapp/forms.py @@ -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 diff --git a/evapp/templates/evapp/employee_form.html b/evapp/templates/evapp/employee_form.html index 01cdcd9..435df50 100644 --- a/evapp/templates/evapp/employee_form.html +++ b/evapp/templates/evapp/employee_form.html @@ -1,6 +1,7 @@ + +{% load i18n %} {% load static %} - @@ -10,9 +11,7 @@ -{% load i18n %} {% block content %} -