GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
This error happened when api objects try to append 'Resource' urls to pattern_urls:
while ExtendedModelResource's object has no attribute "urls"
I traced through the ExtendedModelResource initial process and see there's no update call for "base_fields" in ExtendedDeclarativeMetaclass which result the new_class.base_fields has only "redirect_url" attribute. And since Resource.init just make a deep copy from "base_fields" to "fields", the newly created object has no attribute "urls".
I would like to fix that, but I'm not certain about what should be updated to the "base_fields". Please give some feedback :)
Hello - I have run into the same problem. Has there been a fix for it?
Hi, I have the same problem. Can you fix that ?