.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.8 on 2021-12-11 22:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('generic', '0015_ciduser_ciduserexam'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='ciduser',
|
||||
name='active',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -190,7 +190,7 @@ class QuestionNote(models.Model):
|
||||
class CidUser(models.Model):
|
||||
cid = models.IntegerField(blank=True, null=True)
|
||||
passcode = models.CharField(blank=True, max_length=50)
|
||||
active = models.BinaryField(default=True)
|
||||
active = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.cid)
|
||||
|
||||
Reference in New Issue
Block a user