mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2025-02-16 19:41:00 +03:00
Merge pull request #63 from HackSoftware/do-not-use-blank-null-true
Do not use both `blank=True` & `null=True` when unnecessary
This commit is contained in:
commit
842e7f97a6
|
@ -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