Re: TypeError: object() takes No Parameters

2020-09-17 Thread coolguy
taining a data >>> structure that has a key(a list of dicts) and then to instantiate a table >>> in tables.py and pass to a my views Class. I am getting an error when I do >>> this TypeError: Object() takes no parameters. I have included a link to >>> the djan

Re: TypeError: object() takes No Parameters

2020-09-17 Thread Patrick Carra
get_response [Thu Sep 17 23:07:26.871073 2020] [wsgi:error] [pid 39120] [remote 142.136.2.27:45290] response = wrapped_callback(request, *callback_args, **callback_kwargs) [Thu Sep 17 23:07:26.871079 2020] [wsgi:error] [pid 39120] [remote 142.136.2.27:45290] TypeError: object() takes no param

Re: TypeError: object() takes No Parameters

2020-09-17 Thread Patrick Carra
at all I needed was an iterable containing a data >> structure that has a key(a list of dicts) and then to instantiate a table >> in tables.py and pass to a my views Class. I am getting an error when I do >> this TypeError: Object() takes no parameters. I have incl

Re: TypeError: object() takes No Parameters

2020-09-17 Thread coolguy
pass to a my views Class. I am getting an error when I do > this TypeError: Object() takes no parameters. I have included a link to > the django tables 2 doc and my code below: > > #views.py > from django_tables2.views import SingleTableMixin > from django_tables2.ex

TypeError: object() takes No Parameters

2020-09-17 Thread Patrick Carra
(a list of dicts) and then to instantiate a table in tables.py and pass to a my views Class. I am getting an error when I do this TypeError: Object() takes no parameters. I have included a link to the django tables 2 doc and my code below: #views.py from django_tables2.views import