diff options
author | Dan McGee <dan@archlinux.org> | 2013-12-23 16:44:08 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-12-23 16:44:11 +0100 |
commit | d80908e21e88c78262563f5852d81f2754fb5d82 (patch) | |
tree | 2ce909058941fe2a638232cfce39a88557941180 | |
parent | 36f5e1df9afbeac1d04fee38dde4c28f81144a20 (diff) | |
download | archweb-d80908e21e88c78262563f5852d81f2754fb5d82.tar.gz archweb-d80908e21e88c78262563f5852d81f2754fb5d82.tar.xz |
Change import location of django_countries fields
This will work with both the newer and older versions.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/models.py | 2 | ||||
-rw-r--r-- | mirrors/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/models.py b/devel/models.py index 44bbc66..5c4d4fe 100644 --- a/devel/models.py +++ b/devel/models.py @@ -4,7 +4,7 @@ import pytz from django.db import models from django.db.models.signals import pre_save from django.contrib.auth.models import User -from django_countries import CountryField +from django_countries.fields import CountryField from .fields import PGPKeyField from main.utils import make_choice, set_created_field 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 |