This commit is contained in:
Ross
2021-01-25 15:35:48 +00:00
parent 5135b81025
commit b1e240bfdf
3 changed files with 56 additions and 1 deletions
+6 -1
View File
@@ -180,6 +180,11 @@ class Rapid(models.Model):
default=False,
help_text='Question has been scrapped and will not be shown')
open_access = models.BooleanField(
help_text="If an question should be freely available to browse", default=True
)
def get_absolute_url(self):
return reverse('rapids:rapid_detail', kwargs={'pk': self.pk})
@@ -344,7 +349,7 @@ class Exam(models.Model):
)
time_limit = models.IntegerField(
help_text="Exam time limit (in seconds)", default=5400
help_text="Exam time limit (in seconds). Default is 2100 secondse (35 minutes)", default=2100
)
def __str__(self):