Skip to content

Commit

Permalink
Add missing super() call in serializer class (#17)
Browse files Browse the repository at this point in the history
closes #16
  • Loading branch information
rixx authored May 20, 2024
1 parent 22c5971 commit c472a97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion urlman/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class UrlManField(Field):
label = None
source = "*"

def __init__(self, urls, attribute="urls", full=True):
def __init__(self, urls, attribute="urls", full=True, **kwargs):
super().__init__(**kwargs)
self.urls = urls
self.url_attribute = attribute
self.full = full
Expand Down

0 comments on commit c472a97

Please sign in to comment.