Standard procedure from Model creation to API Endpoint.
Always start here.
models.py
id = models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True)
created_at
updated_at
__str__
Do not put heavy logic in Views.
services.py
selectors.py
ModelSerializer
fields
fields = '__all__'
rest_framework.generics
viewsets
permission_classes
filter_backends
urls.py
admin.py
@admin.register(Model)
list_display
search_fields
list_filter
tests/test_[feature].py