Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove south rests from requirements and code

Roland Geider0d817c4f28bb
diff --git a/requirements.txt b/requirements.txt
index 1cd02ab7f..b695e48df 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,7 +8,6 @@ django-recaptcha
reportlab
django_mobile
bleach
-south < 2.0
python-mimeparse
pillow
easy-thumbnails
diff --git a/wger/utils/fields.py b/wger/utils/fields.py
index e75ef7b18..1e8ae557b 100644
--- a/wger/utils/fields.py
+++ b/wger/utils/fields.py
@@ -15,7 +15,6 @@
import logging
from django.db import models
-from south.modelsinspector import add_introspection_rules
from wger.utils.widgets import Html5FormDateField
from wger.utils.widgets import Html5FormTimeField
@@ -62,8 +61,3 @@ class Html5DateField(models.DateField):
return super(Html5DateField, self).formfield(**defaults)
-#
-# Add instrospection rules so south can still work with these fields
-#
-add_introspection_rules([], ["^wger\.utils\.fields\.Html5TimeField"])
-add_introspection_rules([], ["^wger\.utils\.fields\.Html5DateField"])