Browse Source

Drop reversion

export_seznamu_prednasek
Pavel "LEdoian" Turinsky 5 years ago
parent
commit
7462c5ffc6
  1. 4
      mamweb/settings_common.py
  2. 2
      seminar/admin.py

4
mamweb/settings_common.py

@ -53,7 +53,7 @@ AUTHENTICATION_BACKENDS = (
MIDDLEWARE = ( MIDDLEWARE = (
'reversion.middleware.RevisionMiddleware', # 'reversion.middleware.RevisionMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware', 'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
@ -97,7 +97,7 @@ INSTALLED_APPS = (
# Utilities # Utilities
'sekizai', 'sekizai',
'reversion', # 'reversion',
'django_countries', 'django_countries',
'solo', 'solo',
'ckeditor', 'ckeditor',

2
seminar/admin.py

@ -2,6 +2,8 @@ from django.contrib import admin
from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter
# Todo: reversion
import seminar.models as m import seminar.models as m
admin.site.register(m.Osoba) admin.site.register(m.Osoba)

Loading…
Cancel
Save