Postgres support (DB_* env), LoginEvent audit table, Choice.value 300, deploy.sh pg_dump backup
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -129,7 +129,8 @@ class Question(models.Model):
|
||||
|
||||
class Choice(models.Model):
|
||||
question = models.ForeignKey(Question, on_delete=models.CASCADE, related_name='choices')
|
||||
value = models.CharField(max_length=100)
|
||||
# ۳۰۰: یک گزینهی کتاب ۱۲۲ نویسه بود و SQLite طول را اجرا نمیکرد؛ Postgres رد میکرد.
|
||||
value = models.CharField(max_length=300)
|
||||
is_correct = models.BooleanField(default=False)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user