Skip to content

Good practice documentation. #1976

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

Closed
tomchristie opened this issue Oct 22, 2014 · 1 comment
Closed

Good practice documentation. #1976

tomchristie opened this issue Oct 22, 2014 · 1 comment

Comments

@tomchristie
Copy link
Member

General style & usage tips etc. Including:

  • Good API style.
  • querysets and select_related, prefetch_related, only.
  • DB indexes, particularly wrt filters, relationships, view lookups.
  • Model encapsulation.
  • Thin serializers, thick models.
  • Avoid mixins where possible.
  • Don't set instance attributes on views.
@tomchristie tomchristie changed the title Documentation on general API design. Good practice documentation. Jan 23, 2015
@tomchristie
Copy link
Member Author

Closing as stale

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

No branches or pull requests

1 participant