Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
API for writing a new database backend
51 views
Skip to first unread message
Nuno
unread,
Jul 18, 2018, 5:32:09 PM
7/18/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
7/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I haven't worked on DB backends, but I'm pretty sure you want to implement everything in db/backends/base
https://github.com/django/django/tree/master/django/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)
https://reinout.vanrees.org/weblog/2016/11/04/database-backends.html
Derek
unread,
Jul 20, 2018, 8:06:37 AM
7/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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