Code cleanup

This commit is contained in:
Jeremy Stretch
2016-05-18 16:35:35 -04:00
parent f690be60fd
commit 7502a02fba
14 changed files with 58 additions and 50 deletions

View File

@@ -3,7 +3,6 @@ from django.db import models
class NullableCharField(models.CharField):
description = "Stores empty values as NULL rather than ''"
#__metaclass__ = models.SubfieldBase
def to_python(self, value):
if isinstance(value, models.CharField):