Commit 7f2fa4d3 authored by Vladislav Savchenkov's avatar Vladislav Savchenkov

Change nullable status of category in Article

parent 41df1646
...@@ -25,7 +25,7 @@ class Article(models.Model): ...@@ -25,7 +25,7 @@ class Article(models.Model):
) )
category = models.CharField( category = models.CharField(
max_length=25, max_length=25,
null=True, null=False,
blank=False, blank=False,
verbose_name="Category" verbose_name="Category"
) )
......
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