Skip to content
  • Sponsor encode/django-rest-framework

  • Notifications You must be signed in to change notification settings
  • Fork 7k

Good practice documentation.  #1976

Closed
Closed
@tomchristie

Description

@tomchristie

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.

Activity

changed the title [-]Documentation on general API design.[/-] [+]Good practice documentation. [/+] on Jan 23, 2015
tomchristie

tomchristie commented on Jan 8, 2019

@tomchristie
MemberAuthor

Closing as stale

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Good practice documentation. · Issue #1976 · encode/django-rest-framework