Skip to content

Commit

Permalink
Merge branch 'PetrDlouhy-master' into issue_fix
Browse files Browse the repository at this point in the history
# Conflicts:
#	smart_selects/form_fields.py
  • Loading branch information
jimmykobe1171 committed Dec 5, 2015
2 parents d8d6f24 + d65f809 commit e2b520c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions smart_selects/form_fields.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from django.db.models import get_model
try:
from django.apps import apps
get_model = apps.get_model
except ImportError:
from django.db.models.loading import get_model
from django.forms.models import ModelChoiceField, ModelMultipleChoiceField
from django.forms import ChoiceField

from smart_selects.widgets import ChainedSelect, ChainedSelectMultiple
from django.utils.encoding import force_text
import traceback
Expand Down

0 comments on commit e2b520c

Please sign in to comment.