Skip to content
Snippets Groups Projects
Commit f4fc14ca authored by Ayub khan's avatar Ayub khan
Browse files

INCR-408 python3 compatibility

parent 3e9f503d
No related merge requests found
......@@ -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
......
"""
Django admin page for microsite models
"""
from __future__ import absolute_import
from django import forms
from django.contrib import admin
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment