Skip to content

Commit 7423649

Browse files
authored
Merge pull request GeoNode#5664 from GeoNode/typo-in-ondelete-ad-groups
[Fixes GeoNode#5656] Typo in on_delete at groups
2 parents c9e3ef1 + 8cd6391 commit 7423649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geonode/groups/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class GroupProfile(models.Model):
7878
email_help_text = _('Email used to contact one or all group members, '
7979
'such as a mailing list, shared email, or exchange group.')
8080

81-
group = models.OneToOneField(Group, on_delete="CASCASE")
81+
group = models.OneToOneField(Group, on_delete=models.CASCADE)
8282
title = models.CharField(_('Title'), max_length=50)
8383
slug = models.SlugField(unique=True)
8484
logo = models.ImageField(_('Logo'), upload_to="people_group", blank=True)

0 commit comments

Comments
 (0)