API for writing a new database backend

51 views
Skip to first unread message

Nuno

unread,
Jul 18, 2018, 5:32:09 PM7/18/18
to Django users
Hi,
I'm starting to write a new database backend for a non-relational database, but I can't find any API specification that I should follow.
Such API or any related documentation exists?

Thank you,
Nuno

C. Kirby

unread,
Jul 19, 2018, 9:53:38 AM7/19/18
to Django users
I haven't worked on DB backends, but I'm pretty sure you want to implement everything in db/backends/base


Also here is a page with some info and links to talks and concepts about writing a backend (slightly out of date, but should have most of the info you need)

Derek

unread,
Jul 20, 2018, 8:06:37 AM7/20/18
to Django users
If you are looking for a spec for writing an API, you could do worse than:

https://github.com/OAI/OpenAPI-Specification

If you are looking for a Django tool for creating the API, then:

http://www.django-rest-framework.org/
Reply all
Reply to author
Forward
0 new messages