TypeError: __init__() got an unexpected keyword argument 'name'

680 views
Skip to first unread message

Meerim

unread,
Feb 8, 2022, 8:30:22 PM2/8/22
to Django developers (Contributions to Django itself)
 File "/home/meerim/sushi-drf2/venv/lib/python3.8/site-packages/django_filters/filters.py", line 137, in field
    self._field = self.field_class(label=self.label, **field_kwargs)
  File "/home/meerim/sushi-drf2/venv/lib/python3.8/site-packages/django/forms/fields.py", line 332, in __init__
    super().__init__(max_value=max_value, min_value=min_value, **kwargs)
  File "/home/meerim/sushi-drf2/venv/lib/python3.8/site-packages/django/forms/fields.py", line 256, in __init__
    super().__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'name'
[08/Feb/2022 19:17:51] "GET /coupon HTTP/1.1" 500 134802

Adam Johnson

unread,
Feb 9, 2022, 4:03:27 AM2/9/22
to Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer your support query with their limited time and energy.

For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/stable/faq/help/ . This will help you find people who are willing to support you, and to ask your question in a way that makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/524463f8-8a8c-444b-8c40-7b122998eb7cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages