made expiredate voluntary
This commit is contained in:
@@ -4,7 +4,7 @@ from django.utils import timezone
|
||||
class InfoItem(models.Model):
|
||||
name = models.CharField(max_length=255)
|
||||
template_url = models.CharField(max_length=512)
|
||||
expire_date = models.DateTimeField() # None means never expiring item
|
||||
expire_date = models.DateTimeField(blank=True,null=True) # None means never expiring item
|
||||
|
||||
def get_dict(self):
|
||||
# fetch options
|
||||
|
||||
Reference in New Issue
Block a user