Skip to content

Commit

Permalink
Release 0.7.2: Remove deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Oct 27, 2016
1 parent e5ae660 commit 94e60a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion concepts/__init__.py
Expand Up @@ -4,7 +4,7 @@
__version_info__ = {
'major': 0,
'minor': 7,
'micro': 1,
'micro': 2,
'releaselevel': 'final',
'serial': 1
}
Expand Down
2 changes: 1 addition & 1 deletion concepts/admin.py
@@ -1,6 +1,6 @@
import django
from django.contrib import admin
from django.contrib.contenttypes.generic import GenericTabularInline
from django.contrib.contenttypes.admin import GenericTabularInline
from django.db.models import Count
from django import forms

Expand Down
4 changes: 2 additions & 2 deletions concepts/settings.py
Expand Up @@ -24,7 +24,7 @@
if callable(USER_SETTINGS['PARSER']):
pass
elif isinstance(USER_SETTINGS['PARSER'], basestring):
from django.utils.importlib import import_module
from importlib import import_module
bits = USER_SETTINGS['PARSER'].split(".")
module = import_module(".".join(bits[:-1]))
USER_SETTINGS['PARSER'] = getattr(module, bits[-1])
Expand All @@ -33,7 +33,7 @@
raise ImproperlyConfigured("PARSER must be a callable or a string.")

if isinstance(USER_SETTINGS['WIDGET'], basestring):
from django.utils.importlib import import_module
from importlib import import_module
bits = USER_SETTINGS['WIDGET'].split(".")
module = import_module(".".join(bits[:-1]))
USER_SETTINGS['WIDGET'] = getattr(module, bits[-1])
Expand Down

0 comments on commit 94e60a5

Please sign in to comment.