Skip to content

Commit

Permalink
Set to null=False by default (issue shrubberysoft#1).
Browse files Browse the repository at this point in the history
  • Loading branch information
gintas committed Apr 5, 2010
1 parent 833cdb7 commit ba1f726
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions README
Expand Up @@ -118,6 +118,7 @@ Changes in version 0.1.5
========================

* Added support for South.
* Changed default to null=False, as is common throughout Django.

Changes in version 0.1.4
========================
Expand Down
1 change: 0 additions & 1 deletion src/picklefield/fields.py
Expand Up @@ -66,7 +66,6 @@ class PickledObjectField(models.Field):
def __init__(self, *args, **kwargs):
self.compress = kwargs.pop('compress', False)
self.protocol = kwargs.pop('protocol', DEFAULT_PROTOCOL)
kwargs.setdefault('null', True)
kwargs.setdefault('editable', False)
super(PickledObjectField, self).__init__(*args, **kwargs)

Expand Down

0 comments on commit ba1f726

Please sign in to comment.