-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
birger/512 uri #1463
Open
b1rger
wants to merge
6
commits into
main
Choose a base branch
from
birger/512-uri
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
birger/512 uri #1463
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b1rger
force-pushed
the
birger/512-uri
branch
2 times, most recently
from
November 29, 2024 09:31
2946903
to
ed318dc
Compare
b1rger
added
the
needs-attention
This issue or pull request is in need of discussion, information, assessment by team members
label
Dec 2, 2024
sennierer
removed
the
needs-attention
This issue or pull request is in need of discussion, information, assessment by team members
label
Dec 3, 2024
b1rger
force-pushed
the
birger/512-uri
branch
4 times, most recently
from
December 4, 2024 11:12
283842b
to
a7f35fd
Compare
The `Uri` should allow to point to any model instance, not only to models that inherit from `RootObject`. Therefore we introduce a GenericForeignKey. The migration copies the values of existing `root_object` pointers to the generic foreign key. The `root_object` field is then dropped from the model.
b1rger
force-pushed
the
birger/512-uri
branch
from
December 17, 2024 09:38
a7f35fd
to
591406c
Compare
b1rger
force-pushed
the
birger/512-uri
branch
3 times, most recently
from
December 17, 2024 09:55
ea60a2f
to
a387d4d
Compare
The Uri model now uses a generic foreign key instead of the direct foreign key to the RootObject. This commit updates all occurences of `root_object` to use the generic foreign key instead.
The `Uri` model now uses a generic foreign key instead of the direct foreign key to the `RootObject`. This commit updates all occurences of `root_object` to instead use the generic foreign key.
The `Uri` model now uses a generic foreign key instead of the direct foreign key to the `RootObject`. This commit updates all occurences of `root_object` to use the generic foreign key instead.
The `Uri` model now uses a generic foreign key instead of the direct foreign key to the `RootObject`. This commit updates all occurences of `root_object` to use the generic foreign key instead.
b1rger
force-pushed
the
birger/512-uri
branch
from
December 17, 2024 09:58
a387d4d
to
bc40eda
Compare
b1rger
force-pushed
the
birger/512-uri
branch
from
December 17, 2024 12:53
02a60bd
to
41d99dd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #512