Project

Profile

Help

Task #2238

closed

Task #1873: Plan REST API for 3.0

Make DRF tools that can represent our generic models via the API

Added by semyers about 8 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

In putting all this API stuff together, I just now realized that I've completely ignored things like the GenericKeyValueMutableMapping that's related to models as the Config/Notes/etc fields. This should be a simple custom field, based on the DRF docs that detail a few different methods of handling generic relations in the api:
http://www.django-rest-framework.org/api-guide/relations/#generic-relationships

Also available in: Atom PDF