On Jul 29, 6:51 pm, __future__ <[email protected]> wrote: > So can I create a custom filter like the EventQuerySet in the example > and then apply it in the controller? I assume I will have to use this > anywhere an event might get an update? Can I use it with crud?
I don't quite follow the example (I'm not familiar with Django) but what I think you're looking for is: crud.settings.create_onvalidation = lambda form: mycustomfilter(form) F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

