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

Documentation of ModelResource is a bit broken #95

Closed
philwo opened this issue Dec 15, 2011 · 2 comments
Closed

Documentation of ModelResource is a bit broken #95

philwo opened this issue Dec 15, 2011 · 2 comments

Comments

@philwo
Copy link

philwo commented Dec 15, 2011

The documentation of ModelResource at http://django-rest-framework.org/library/resource.html doesn't look right:

form:
The model class which this resource maps to.
This can be overridden by a model attribute on the views.View.

fields:
The list of fields to exclude. This is only used if fields is not set.

Seems like the texts don't match up to the right description texts..

@tomchristie
Copy link
Member

Yup I see what you mean. Thanks.

@markotibold
Copy link
Contributor

This is fixed in tip:

http://jenkins.tibold.nl/job/djangorestframework_docs/ws/TOXENV/docs/docs/html/library/resource.html

The docs were probably built by an older sphinx builder?

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

3 participants