Skip to content

Commit

Permalink
Merge pull request #15 from glow-mdsol/feature/db_type_fix
Browse files Browse the repository at this point in the history
Feature/db type fix
  • Loading branch information
palewire committed Oct 6, 2016
2 parents a3e6106 + c03e7eb commit 154a4d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 0 additions & 3 deletions yamlfield/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 154a4d3

Please sign in to comment.