> Right now I have at the top of C1
> response.models_to_run['.*'] (just for debugging) but I still get a
> ticket saying that
>
Are you saying you put that line at the top of the C1 controller? If so,
that's too late -- the controller isn't run until after the models have
been executed. You have to set/change response.models_to_run in one or more
model files. By default:
response.models_to_run = [r'^\w+\.py$', r'^%s/\w+\.py$' % request.controller
,
r'^%s/%s/\w+\.py$' % (request.controller, request.
function)]
which sets up the standard conditional models.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.