derek-schaefer / django-json-field

Generic JSON model and form fields.
BSD 3-Clause "New" or "Revised" License
122 stars 86 forks source link

Do not call gettext in form class definition #8

Closed mjtorn closed 12 years ago

mjtorn commented 12 years ago

This needs to be so, or eg. manage.py migrate will start loading models too early and complain about json_field not having JSONField or anything else.

Note that moving json_field to be the first in INSTALLED_APPS does not help.

At least that's what I found ;)

derek-schaefer commented 12 years ago

So that's what was causing that problem! Thanks! Merged.