-
Notifications
You must be signed in to change notification settings - Fork 301
exception on import of the serializer #158
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
Comments
Do your settings look roughly like this? https://github.com/django-json-api/django-rest-framework-json-api/blob/develop/example/settings/dev.py#L39-L56 The error is basic enough that I'm guessing you have something misconfigured |
Dear, settings are c&p'd:
error smells like circular import, but I can't make sense of that. |
found it:
triggers the read of the parsers and its import. the parser class imports exceptions from . and inside exceptions we are importing:
means it requires |
I changed the imports of the parsers testwise into:
and its working now. |
dear, I wonder why it got closed. this is a error in the package as none of my code was involved. means, adopting your code won't make sense? can I provide anything to support you? |
I've run into this exact same issue. Why was this issue closed? |
Dear, no answer since then. not sure if this package is properly maintained. feel free to see my fork. its working for me on production since december. best j |
Yes it's maintained, I believe this issue was closed because we understood it to be resolved. If you have the fix in your fork would you be interested in opening a pull request? |
Dear, I'm hesitating as I'm already late with a pull request for django-registration as it always involves proper code, tests, docu etc. I fear I cant' deliver proper quality to contribute or it will take a long time until its done.... |
I have a patch I'll push out shortly. |
I've created #201. Would really appreciate a merge so we can avoid having to use a fork. Thanks! :) |
@jerel the fix is simple enough for me to merge right away. It is unfortunate that the issue is so hard to replicate, the comment should, however, prevent regression. |
Thanks! |
Dear,
my code:
when using
from rest_framework import serializers
all is working.the error when executing runserver and triggering a request:
I'm running your 2.0.0.beta.2
The text was updated successfully, but these errors were encountered: