Permalink
Browse files

Merge pull request #15 from glow-mdsol/feature/db_type_fix

Feature/db type fix
  • Loading branch information...
palewire committed Oct 6, 2016
2 parents a3e6106 + c03e7eb commit 154a4d38351a5fb71f6edf8d954b49161ae68566
Showing with 1 addition and 4 deletions.
  1. +1 −1 setup.py
  2. +0 −3 yamlfield/fields.py
@@ -33,7 +33,7 @@ def run(self):
setup(
name='django-yamlfield',
version='1.0.2',
version='1.0.3',
description='A Django database field for storing YAML data',
author='The Los Angeles Times Data Desk',
author_email='datadesk@latimes.com',
@@ -7,9 +7,6 @@
class YAMLField(models.TextField):
def db_type(self, connection):
return 'TextField'
def from_db_value(self, value, expression, connection, context):
return self.to_python(value)

0 comments on commit 154a4d3

Please sign in to comment.