mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2025-03-13 07:15:47 +03:00
Do not use both blank=True
& null=True
when unnecessary
This commit is contained in:
parent
d1cf996a5e
commit
f313464dbd
|
@ -110,10 +110,10 @@ class Course(models.Model):
|
|||
slug_url = models.SlugField(unique=True)
|
||||
|
||||
repository = models.URLField(blank=True)
|
||||
video_channel = models.URLField(blank=True, null=True)
|
||||
facebook_group = models.URLField(blank=True, null=True)
|
||||
video_channel = models.URLField(blank=True)
|
||||
facebook_group = models.URLField(blank=True)
|
||||
|
||||
logo = models.ImageField(blank=True, null=True)
|
||||
logo = models.ImageField(blank=True)
|
||||
|
||||
public = models.BooleanField(default=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user