Commit 5232b186 authored by Dan McGee's avatar Dan McGee
Browse files

Remove dependency on South


Signed-off-by: default avatarDan McGee <dan@archlinux.org>
parent 51d90e23
......@@ -26,7 +26,6 @@ packages, you will probably want the following:
- django
- python2-psycopg2
- python2-markdown
- python2-south
- python2-memcached
# Testing Installation
......
......@@ -3,8 +3,6 @@
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}$',
......
......@@ -2,8 +2,6 @@
class PositiveBigIntegerField(models.BigIntegerField):
_south_introspects = True
def get_internal_type(self):
return "BigIntegerField"
......
......@@ -4,7 +4,6 @@
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 @@ def formfield(self, **kwargs):
defaults = {'form_class': IPNetworkFormField}
defaults.update(kwargs)
return super(IPNetworkField, self).formfield(**defaults)
add_introspection_rules([], ["^mirrors\.fields\.IPNetworkField"])
......@@ -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
......
......@@ -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
......
......@@ -114,7 +114,6 @@
'django.contrib.sitemaps',
'django.contrib.admin',
'django.contrib.staticfiles',
'south',
'django_countries',
'main',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment