Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nosj import fails. app/module renamed by author #21

Open
HondoOhnaka opened this issue Apr 15, 2012 · 1 comment
Open

nosj import fails. app/module renamed by author #21

HondoOhnaka opened this issue Apr 15, 2012 · 1 comment

Comments

@HondoOhnaka
Copy link

syncdb fails with error:

File "/Library/Python/2.7/site-packages/glamkit_eventtools-2.0.0a1-py2.7.egg/eventtools/models/generator.py", line 11, in
from nosj.fields import JSONField
ImportError: No module named nosj.fields

The JSONField project was updated to jsonfield and needs to be updated in models/generator.py.
https://github.com/bradjasper/django-jsonfield

Line 11 or so need to change from:
from nosj.fields import JSONField
to
from jsonfield.fields import JSONField

@jheasly
Copy link

jheasly commented Apr 25, 2012

Thanks! Had the same problem, your fix works.

(And, of course, you also need to get django-jsonfield installed too!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants