Drop reversion

This commit is contained in:
Pavel "LEdoian" Turinsky 2019-08-14 01:17:05 +02:00
parent 2d23a79ad6
commit 7462c5ffc6
2 changed files with 4 additions and 2 deletions

View file

@ -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',

View file

@ -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)