-
Notifications
You must be signed in to change notification settings - Fork 67
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
Option to disable Physics #489
base: develop
Are you sure you want to change the base?
Changes from all commits
cf8a01c
e403814
2e65a7c
6caf782
eca7ea3
28eabfa
1abe84e
2cb5c28
f7b2265
3440950
0286c58
e9b125e
9698597
0df9d12
40e4cf3
601421f
1e50def
ab5a7f4
f3b9985
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.10 on 2024-04-29 14:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('netbox_topology_views', '0007_individualoptions_group_locations_and_more'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is problematic, because another PR lists this 0007 as a dependency. This one is no. 0009 and should depend on 0008. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed, this happened because I was working on this PR and #488 in parallel. #488 contains a migration with index 0008, therefore this got 0009 and cannot depend on 0008, since it is on another branch. I propose leaving this comment open until either #488 or this PR gets accepted and change it accordingly as a last step. |
||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='individualoptions', | ||
name='disable_physics', | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_query_settings() has to be expanded with the new option(s).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, Github cannot figure it out because reasons.