We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9e3ef1 + 8cd6391 commit 7423649Copy full SHA for 7423649
geonode/groups/models.py
@@ -78,7 +78,7 @@ class GroupProfile(models.Model):
78
email_help_text = _('Email used to contact one or all group members, '
79
'such as a mailing list, shared email, or exchange group.')
80
81
- group = models.OneToOneField(Group, on_delete="CASCASE")
+ group = models.OneToOneField(Group, on_delete=models.CASCADE)
82
title = models.CharField(_('Title'), max_length=50)
83
slug = models.SlugField(unique=True)
84
logo = models.ImageField(_('Logo'), upload_to="people_group", blank=True)
0 commit comments