Skip to content

Commit 4a56fdc

Browse files
Update djangocms_snippet/forms.py
Co-authored-by: Adam Murray <adam-murray@hotmail.co.uk>
1 parent b11c7f3 commit 4a56fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_snippet/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Meta:
7676
def __init__(self, *args, **kwargs):
7777
"""
7878
Initialise the form with the add button enabled to allow adding a new snippet from the plugin form. To enable
79-
this the get_related_url method on the widget is monkey patched to build a URL for the Snippet admin instead of
79+
this the get_related_url method on the widget is overridden to build a URL for the Snippet admin instead of
8080
the SnippetGrouper, as this is not enabled in the admin.
8181
"""
8282
super(SnippetPluginForm, self).__init__(*args, **kwargs)

0 commit comments

Comments
 (0)