INCR-408 python3 compatibility
This commit is contained in:
@@ -8,6 +8,8 @@ with:
|
||||
|
||||
from microsite_configuration import settings
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.conf import settings as base_settings
|
||||
|
||||
from microsite_configuration import microsite
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
"""
|
||||
Django admin page for microsite models
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django import forms
|
||||
from django.contrib import admin
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
from .microsite import enable_microsites
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@@ -6,6 +6,8 @@ A microsite enables the following features:
|
||||
2) Present a landing page with a listing of courses that are specific to the 'brand'
|
||||
3) Ability to swap out some branding elements in the website
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import inspect
|
||||
from importlib import import_module
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ A microsite enables the following features:
|
||||
3) Ability to swap out some branding elements in the website
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
from microsite_configuration import microsite
|
||||
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ The object is stored as a json representation of the python dict
|
||||
that would have been used in the settings.
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import collections
|
||||
|
||||
from django.contrib.sites.models import Site
|
||||
|
||||
Reference in New Issue
Block a user