Re: TypeError: object() takes No Parameters

2020-09-17 Thread coolguy
gt; aggregates the data into a list of dictionaries. I read to use the >>> SingleTableMixin that 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

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
ueries my database and >> aggregates the data into a list of dictionaries. I read to use the >> SingleTableMixin that 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 a

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
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