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 /mirrors | |
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>
Diffstat (limited to 'mirrors')
-rw-r--r-- | mirrors/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |