Commit 3706c2a5 authored by Ristylou Dolar's avatar Ristylou Dolar

Modified theme field in Application

parent e4b4bfe4
......@@ -5,7 +5,7 @@ from django.utils import timezone
class Application(models.Model):
application_no = models.CharField(max_length=250)
name = models.CharField(max_length=200, unique=True)
theme = models.IntegerField(default=1)
theme = models.IntegerField(null=True, blank=True, default=1)
code = models.CharField(max_length=300)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment