I've noticed a change between TG2.2.2 and TG2.3.0 and not sure if it is
something I've done wrong or a new bug.
I wanted to change the template that the Admin screens use. Currently
I have a custom AdminConfig which then uses a custom CrudRestController
If my CRC doesn't redefine the get_all method, all is good. But if
I change it to, what I would of thought would be a nothing special
I get an error.
@expose('mako:tgext.crud.templates.get_all')
def get_all(self, *args, **kw):
return super(MyCrudRestController, self).get_all(*args, **kw)
File
".../lib/python2.7/site-packages/tgext.crud-0.6.3-py2.7.egg/tgext/crud/controller.py",
line 261, in get_all
paginator = request.paginators['value_list']
request has no paginator when I make my own CRC, but I cannot see why
that would make a difference what CRC I use.
- Craig
--
Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.