Fix id mess #9

Open
opened 2026-05-20 00:06:39 +02:00 by DestinyofYeet · 0 comments
- `Model.get_id()` currently controls wether the model is actually saved in the database or not. - [The SqliteStrategy needs a column named `id` when saving](https://code.ole.blue/DestinyofYeet/django-rs/src/commit/5bd92df27e7151b366f9b98618e97676a84d0f2c/src/server/database_strategy/default_strategies/sqlite_strategy.rs#L304), but this is not checked anywhere. - [It is also expected that the `id` gets returned](https://code.ole.blue/DestinyofYeet/django-rs/src/commit/5bd92df27e7151b366f9b98618e97676a84d0f2c/src/server/database_strategy/default_strategies/sqlite_strategy.rs#L322)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DestinyofYeet/django-rs#9
No description provided.