изменил значение в заголовке
This commit is contained in:
parent
099b37e31e
commit
cd26868a89
|
|
@ -3,7 +3,7 @@ from django.db import models
|
||||||
|
|
||||||
class Rubric(models.Model):
|
class Rubric(models.Model):
|
||||||
name = models.CharField(max_length=255)
|
name = models.CharField(max_length=255)
|
||||||
title = models.CharField(max_length=255)
|
title = models.CharField(max_length=255, null=True, default='Null')
|
||||||
description = models.TextField()
|
description = models.TextField()
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue