Now able to retrieve model data for any number of models, identified by their primary keys, represented as JSON, using GET /data?<primary_key>=<value>.
7 lines
138 B
Python
7 lines
138 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class ApiConfig(AppConfig):
|
|
default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'api'
|