extra_context was missing in XOSAdminMixin.add_view
diff --git a/xos/core/admin.py b/xos/core/admin.py
index e6911be..b33b115 100644
--- a/xos/core/admin.py
+++ b/xos/core/admin.py
@@ -180,12 +180,12 @@
return super(XOSAdminMixin, self).changelist_view(request, extra_context=extra_context)
- def add_view(self, request, extra_context = None):
+ def add_view(self, request, form_url='', extra_context = None):
extra_context = extra_context or {}
self.add_extra_context(request, extra_context)
- return super(XOSAdminMixin, self).add_view(request, extra_context=extra_context)
+ return super(XOSAdminMixin, self).add_view(request, form_url, extra_context=extra_context)
def __user_is_readonly(self, request):
return request.user.isReadOnlyUser()