Совместимость версий библиотек
WizardView
try: from formtools.wizard.views import WizardView except ImportError, e: from django.contrib.formtools.wizard.views import WizardView
get_template_from_string
try: from django.template import Engine def get_template_from_string(template_code): return Engine().from_string(template_code) except ImportError: from django.template.loader import get_template_from_string
base_meta_class
try: from django.contrib.admin.options import RenameBaseModelAdminMethods base_meta_class = RenameBaseModelAdminMethods except ImportError: from django import forms base_meta_class = forms.MediaDefiningClass