SImplify and fix preference name migration #148

Merged
hansegucker merged 1 commit from fix-migration-again into master 2021-12-02 15:15:58 +01:00
Owner

@hansegucker The current_site object behaves strange inside the migration, I have no idea why (the same code works jsut fine outside the migration).

Trying to fix it, I wondered why the migration even needs to be site-aware (and if being site-aware isn't even a bug in itself), and what the update_or_create is supposed to do. Please look into my simplification.

Closes #35.

@hansegucker The `current_site` object behaves strange inside the migration, I have no idea why (the same code works jsut fine outside the migration). Trying to fix it, I wondered why the migration even needs to be site-aware (and if being site-aware isn't even a bug in itself), and what the `update_or_create` is supposed to do. Please look into my simplification. Closes #35.
Author
Owner

assigned to @hansegucker

assigned to @hansegucker
Owner

Oh, that really simplifies things. Has this been tested in real?

Oh, that really simplifies things. Has this been tested in real?
Author
Owner

Yes.

Yes.
Owner

resolved all threads

resolved all threads
Owner

mentioned in commit 4a8fe77dfb

mentioned in commit 4a8fe77dfbefb5c356d5f0ce4ba372fa24d7f248
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
aleksis/AlekSIS-App-LDAP!148
No description provided.