databases-orm

600 threads · Page 8 of 12

Getting something similar to `.values()` but with the models instead of the IDs 5 messages
SQLite
Model item names 29 messages
SQLite
Trouble with choices in my data models 12 messages
ORM
Upgrade from psycopg2 to psycopg3 causes a breaking change with BinaryField. 15 messages
PostgreSQL
Queryset extra order by 3 messages
ORM PostgreSQL
Trouble importing data from a 3rd party API 6 messages
ORM PostgreSQL
ManyToMany filtering 4 messages
PostgreSQL ORM
[SOLVED] Distinct by fields and annotate lowest 2 messages
ORM PostgreSQL
Connecting To MongoDB 2 messages
Other database
postgres sharelocks 3 messages
PostgreSQL
StaticLiveServerTestCase not rolling back after test 4 messages
PostgreSQL ORM
Many2Many database items 24 messages
ORM
_meta API for retrieving GenericForeignKey fields on a model? 2 messages
ORM
Looking for efficient way to find duplicates 27 messages
SQLite ORM
Potential issue with database transactions 8 messages
ORM MySQL
Filtering queryset to avoid n + 1 problem 22 messages
ORM PostgreSQL
model methods 10 messages
ORM PostgreSQL
Exclude the field from migration 6 messages
ORM PostgreSQL
Removing column from query result 13 messages
ORM
How to migrate new table in postgreSQL? 5 messages
PostgreSQL
can't change type of a field 2 messages
PostgreSQL
I get an IndexError: tuple index out of range every time I click on my model in the admin area. 41 messages
PostgreSQL
DB Connection lost during long running task 30 messages
PostgreSQL
Is this a good way to handle metric to imperial conversions? 2 messages
ORM SQLite
Best way to handle variable count items in a model 7 messages
SQLite ORM
Best approach to handle dynamic data 7 messages
SQLite MySQL
Django Migrations Not Using Configured Database Connection 4 messages
PostgreSQL ORM
orm issue with posgres inserts 8 messages
PostgreSQL
How to Annotate and Sort Django QuerySet Based on another Model object existence. 4 messages
ORM MySQL
Changing db values automatically every time the app is run 7 messages
PostgreSQL
BUG: Using GeneratedField in a unique_together 3 messages
PostgreSQL
switch django admin based database user 2 messages
ORM
How to connect the database ? 6 messages
MySQL
Default value is not getting excepted 70 messages
MySQL
Shuffle primary keys somehow? 19 messages
SQLite
Deleting fields from the database doesn't actually delete them? 15 messages
SQLite
Should a normal user and an admin share the sane User model 8 messages
ORM PostgreSQL
Connecting mysql with django -operational error 3 messages
MySQL
Is there any way to ADD COLUMN using AFTER col by Django model definition and migration? 4 messages
MySQL
Running the "migrate" command doesn't actually update my database. 21 messages
SQLite
Using .order_by("?") for random order on a QuerySet: I'm getting duplicate rows 12 messages
ORM PostgreSQL
How to set all migrations to zero and how to flush my entire database ??? 47 messages
ORM MySQL
Migration file management with multiple devs? 5 messages
ORM
Getting ModelIterable with values() or alternatives to apply group-by correctly for Graphene 5 messages
ORM Other database
Many-to-many left outer join to a many-to-many 24 messages
ORM
Can't do both mysqldump and migrate because of database=dbname in my.cnf 2 messages
MySQL
Would it be sane to "splice" a new migration into the middle of the migrations sequence? 2 messages
ORM PostgreSQL
dump database 3 messages
SQLite
SubQuery Django 2 messages
ORM
help 64 messages
SQLite