Skip to content

Commit

Permalink
Missing dependency (versiontools imports django_any, but django_any w…
Browse files Browse the repository at this point in the history
…on't work without django installed)

#19
  • Loading branch information
coagulant committed Jan 10, 2012
1 parent 5c58663 commit e562cd2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions django_any/__init__.py
@@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
__version__ = (0, 2, 1, 'final', 0)
from django_any.forms import any_form_field, any_form
from django_any.models import any_field, any_model
__version__ = (0, 2, 2, 'final', 0)
try:
from django_any.forms import any_form_field, any_form
from django_any.models import any_field, any_model
except ImportError:
pass

0 comments on commit e562cd2

Please sign in to comment.