From 7462c5ffc61a3d21e936449006f7a2bb59f86476 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 14 Aug 2019 01:17:05 +0200 Subject: [PATCH] Drop reversion --- mamweb/settings_common.py | 4 ++-- seminar/admin.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mamweb/settings_common.py b/mamweb/settings_common.py index 995bc4ad..ce471e70 100644 --- a/mamweb/settings_common.py +++ b/mamweb/settings_common.py @@ -53,7 +53,7 @@ AUTHENTICATION_BACKENDS = ( MIDDLEWARE = ( - 'reversion.middleware.RevisionMiddleware', +# 'reversion.middleware.RevisionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', @@ -97,7 +97,7 @@ INSTALLED_APPS = ( # Utilities 'sekizai', - 'reversion', +# 'reversion', 'django_countries', 'solo', 'ckeditor', diff --git a/seminar/admin.py b/seminar/admin.py index 0a66f30f..310df7fe 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -2,6 +2,8 @@ from django.contrib import admin from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter +# Todo: reversion + import seminar.models as m admin.site.register(m.Osoba)