-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add variables to group and layer models #505
Conversation
project/terra_layer/models.py
Outdated
@@ -164,6 +167,8 @@ class LayerGroup(models.Model): | |||
) | |||
order = models.IntegerField(default=0) | |||
exclusive = models.BooleanField(default=False) | |||
byVariable = 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.
byVariable = models.BooleanField(default=False) | |
by_variable = models.BooleanField(default=False) |
respect the default python lower_case
fdbf4f6
to
1097b7d
Compare
1097b7d
to
ab20db4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #505 +/- ##
==========================================
- Coverage 95.06% 95.04% -0.03%
==========================================
Files 80 80
Lines 2899 2906 +7
==========================================
+ Hits 2756 2762 +6
- Misses 143 144 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Ok so I'm not sure at ALL about some of the stuff here, especially around the migrations. I just applied
make migration
andmigrate