#django-orm

[ follow ]
Software development
fromPeterbe
2 weeks ago

Autocomplete using PostgreSQL instead of Elasticsearch - Peterbe.com

PostgreSQL with a GIN trigram index and Django ORM bulk-indexing can replace Elasticsearch for small-scale autocomplete/typeahead efficiently and safely.
fromdjangocentral.com
1 month ago
Web frameworks

How to Perform OR Queries in Django ORM

DRF serializer.data returns an OrderedDict by design; Django NOT queries use the tilde (~) with Q objects; disabling adblocker supports site maintenance.
Web frameworks
fromPaolo Melchiorre
3 months ago

Django: one ORM to rule all databases

PostgreSQL, SQLite, MariaDB, MySQL, and Oracle offer varied Django ORM feature support; choose backend based on feature parity and project requirements.
[ Load more ]