-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add view_contest_submissions
field
#1860
Conversation
d31f8f4
to
e815210
Compare
Updated: also adds a toggle for testers to see in-contest submissions, and renamed migration to be more useful. |
Codecov Report
@@ Coverage Diff @@
## master #1860 +/- ##
==========================================
+ Coverage 46.16% 46.18% +0.02%
==========================================
Files 228 229 +1
Lines 13011 13018 +7
==========================================
+ Hits 6006 6013 +7
Misses 7005 7005
Continue to review full report at Codecov.
|
e815210
to
c3e46eb
Compare
Re-ordered query parameters in submission queryset, unsure if it matters. |
7bc8084
to
936ffa3
Compare
936ffa3
to
b082f22
Compare
@@ -91,6 +93,10 @@ class Contest(models.Model): | |||
view_contest_scoreboard = models.ManyToManyField(Profile, verbose_name=_('view contest scoreboard'), blank=True, | |||
related_name='view_contest_scoreboard', | |||
help_text=_('These users will be able to view the scoreboard.')) | |||
view_contest_submissions = models.ManyToManyField(Profile, verbose_name=('can see contest submissions'), blank=True, |
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.
Where is the _
?
Overrides and closes #1695. It is likely better to have a dedicated field for this instead of reusing an existing field.