From d80908e21e88c78262563f5852d81f2754fb5d82 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 23 Dec 2013 09:44:08 -0600 Subject: Change import location of django_countries fields This will work with both the newer and older versions. Signed-off-by: Dan McGee --- mirrors/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mirrors') diff --git a/mirrors/models.py b/mirrors/models.py index 5766456..0b05304 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -5,7 +5,7 @@ from urlparse import urlparse from django.core.exceptions import ValidationError from django.db import models from django.db.models.signals import pre_save -from django_countries import CountryField +from django_countries.fields import CountryField from .fields import IPNetworkField from main.utils import set_created_field -- cgit v1.2.3-24-g4f1b