Fix minor bugs and improve some model fields
This commit is contained in:
parent
f98549e92d
commit
a42bae51f7
7 changed files with 56 additions and 14 deletions
|
@ -111,16 +111,6 @@ class Organization(models.Model):
|
|||
blank=True,
|
||||
)
|
||||
organization_image = models.ImageField(upload_to=organization_image_path, null=True)
|
||||
logo_override_image = models.CharField(
|
||||
verbose_name=_("Logo override image"),
|
||||
default="",
|
||||
max_length=150,
|
||||
blank=True,
|
||||
help_text=_(
|
||||
"This image will replace the default site logo for users "
|
||||
"viewing the organization."
|
||||
),
|
||||
)
|
||||
|
||||
def __contains__(self, item):
|
||||
if isinstance(item, int):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue