Skip to content

Commit

Permalink
Give LargeObjectField South support too
Browse files Browse the repository at this point in the history
  • Loading branch information
moggers87 committed May 22, 2014
1 parent 9a2d5b0 commit 0591400
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions djorm_pgbytea/lobject.py
Expand Up @@ -91,3 +91,11 @@ def to_python(self, value):
return None

raise ValueError("Invalid value")


# South support
try:
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ['^djorm_pgbytea\.lobject\.LargeObjectField'])
except ImportError:
pass

0 comments on commit 0591400

Please sign in to comment.