Skip to content
Snippets Groups Projects
Commit d26282f1 authored by Ben Adida's avatar Ben Adida
Browse files

removed traces of south

parent 13043259
No related branches found
No related tags found
No related merge requests found
...@@ -72,10 +72,3 @@ class LDObjectField(models.TextField): ...@@ -72,10 +72,3 @@ class LDObjectField(models.TextField):
def value_to_string(self, obj): def value_to_string(self, obj):
value = self._get_val_from_obj(obj) value = self._get_val_from_obj(obj)
return self.get_db_prep_value(value) return self.get_db_prep_value(value)
##
## for schema migration, we have to tell South about JSONField
## basically that it's the same as its parent class
##
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^helios\.datatypes\.djangofield.LDObjectField"])
...@@ -72,9 +72,3 @@ class JSONField(models.TextField): ...@@ -72,9 +72,3 @@ class JSONField(models.TextField):
value = self._get_val_from_obj(obj) value = self._get_val_from_obj(obj)
return self.get_db_prep_value(value) return self.get_db_prep_value(value)
##
## for schema migration, we have to tell South about JSONField
## basically that it's the same as its parent class
##
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^helios_auth\.jsonfield\.JSONField"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment