From 42ac13800952e74e3969b850fa635b400948c5ee Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 28 Nov 2013 21:42:24 -0500 Subject: [PATCH] Fixed a deprecation warning introduced by 96dd48c83f. --- django/db/migrations/autodetector.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index 656ce3e939c..083351a6f10 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -1,11 +1,13 @@ -import re +import importlib import os +import re import sys -from django.utils import datetime_safe, importlib -from django.utils.six.moves import input + from django.db.migrations import operations from django.db.migrations.migration import Migration from django.db.models.loading import cache +from django.utils import datetime_safe +from django.utils.six.moves import input class MigrationAutodetector(object):