ERROR unable to create a user
Hi,
I finished the install this morning and i am unable to create users. I checked the log and i have this:
ERROR [django.request:228] Internal Server Error: /admin/authentication/user/add/ Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 126, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 124, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 607, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 142, in _wrapped_view response = view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/sites.py", line 223, in inner return view(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 45, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 45, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 142, in _wrapped_view response = view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/auth/admin.py", line 98, in add_view return self._add_view(request, form_url, extra_context) File "/usr/local/lib/python3.6/dist-packages/django/contrib/auth/admin.py", line 125, in _add_view return super().add_view(request, form_url, extra_context) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 1647, in add_view return self.changeform_view(request, None, form_url, extra_context) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 45, in _wrapper return bound_method(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/decorators.py", line 142, in _wrapped_view response = view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 1536, in changeform_view return self._changeform_view(request, object_id, form_url, extra_context) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 1590, in _changeform_view formsets, inline_instances = self._create_formsets(request, form.instance, change=False) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 1945, in _create_formsets for FormSet, inline in self.get_formsets_with_inlines(*get_formsets_args): File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 795, in get_formsets_with_inlines yield inline.get_formset(request, obj), inline File "/usr/local/lib/python3.6/dist-packages/allianceauth/authentication/admin.py", line 72, in get_formset formset = super().get_formset(request, obj=obj, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 2027, in get_formset fields = flatten_fieldsets(self.get_fieldsets(request, obj)) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 328, in get_fieldsets return [(None, {'fields': self.get_fields(request, obj)})] File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 319, in get_fields form = self._get_form_for_get_fields(request, obj) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 2108, in _get_form_for_get_fields return self.get_formset(request, obj, fields=None).form File "/usr/local/lib/python3.6/dist-packages/allianceauth/authentication/admin.py", line 72, in get_formset formset = super().get_formset(request, obj=obj, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/contrib/admin/options.py", line 2055, in get_formset can_add = self.has_add_permission(request, obj) if request else True TypeError: has_add_permission() takes 2 positional arguments but 3 were given
I am not too sure on how to proceed to resolve the issue.
Thank you for your help