summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-06-28 12:22:29 -0500
committerDan McGee <dan@archlinux.org>2014-09-01 18:26:05 -0500
commit5232b186dc44fc053adfcbd3860a4b33da399232 (patch)
treefe5dc38bceeab6fc2859cbfda74e67da52b09cc5
parent51d90e23c9237772a2c327a7fe518d5554532861 (diff)
Remove dependency on South
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--README.md1
-rw-r--r--devel/fields.py2
-rw-r--r--main/fields.py2
-rw-r--r--mirrors/fields.py4
-rw-r--r--requirements.txt1
-rw-r--r--requirements_prod.txt1
-rw-r--r--settings.py1
7 files changed, 0 insertions, 12 deletions
diff --git a/README.md b/README.md
index beeb7f99..3e48ca8c 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,6 @@ packages, you will probably want the following:
- django
- python2-psycopg2
- python2-markdown
-- python2-south
- python2-memcached
# Testing Installation
diff --git a/devel/fields.py b/devel/fields.py
index 606ca63c..dd22a92e 100644
--- a/devel/fields.py
+++ b/devel/fields.py
@@ -3,8 +3,6 @@ from django.core.validators import RegexValidator
class PGPKeyField(models.CharField):
- _south_introspects = True
-
def __init__(self, *args, **kwargs):
super(PGPKeyField, self).__init__(*args, **kwargs)
self.validators.append(RegexValidator(r'^[0-9A-F]{40}$',
diff --git a/main/fields.py b/main/fields.py
index 2d5703ef..53494772 100644
--- a/main/fields.py
+++ b/main/fields.py
@@ -2,8 +2,6 @@ from django.db import models
class PositiveBigIntegerField(models.BigIntegerField):
- _south_introspects = True
-
def get_internal_type(self):
return "BigIntegerField"
diff --git a/mirrors/fields.py b/mirrors/fields.py
index 206c9d7d..e8963edf 100644
--- a/mirrors/fields.py
+++ b/mirrors/fields.py
@@ -4,7 +4,6 @@ from django import forms
from django.core import validators
from django.core.exceptions import ValidationError
from django.db import models
-from south.modelsinspector import add_introspection_rules
class IPNetworkFormField(forms.Field):
@@ -44,6 +43,3 @@ class IPNetworkField(models.Field):
defaults = {'form_class': IPNetworkFormField}
defaults.update(kwargs)
return super(IPNetworkField, self).formfield(**defaults)
-
-
-add_introspection_rules([], ["^mirrors\.fields\.IPNetworkField"])
diff --git a/requirements.txt b/requirements.txt
index 1888f8a1..866b4f52 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,7 +3,6 @@
Django==1.6.6
IPy==0.81
Markdown==2.4.1
-South==1.0
bencode==1.0
jsmin==2.0.11
pgpdump==1.5
diff --git a/requirements_prod.txt b/requirements_prod.txt
index c6b06897..d98a7daa 100644
--- a/requirements_prod.txt
+++ b/requirements_prod.txt
@@ -3,7 +3,6 @@
Django==1.6.6
IPy==0.81
Markdown==2.4.1
-South==1.0
bencode==1.0
jsmin==2.0.11
pgpdump==1.5
diff --git a/settings.py b/settings.py
index 2e3cf08b..368dcb73 100644
--- a/settings.py
+++ b/settings.py
@@ -114,7 +114,6 @@ INSTALLED_APPS = (
'django.contrib.sitemaps',
'django.contrib.admin',
'django.contrib.staticfiles',
- 'south',
'django_countries',
'main',