del default value of post_type, update gitignore file

This commit is contained in:
2020-08-15 12:39:48 +00:00
parent c542d2c45f
commit b5f632dffe
5 changed files with 7 additions and 28 deletions

View File

@@ -105,7 +105,7 @@ class Post(models.Model):
('E', _('Event')),
('F', _('FetMeeting'))
]
post_type = models.CharField(max_length=1, choices=__choices, editable=False, default='N')
post_type = models.CharField(max_length=1, choices=__choices, editable=False)
is_event = models.BooleanField(default=False)