requires=IS_IN_DB(db,'auth_user.id','%(first_name)s',multiple=True)
1. | Traceback (most recent call last): |
I am using the default SQLITE database. Yes I did change the field type couple of times back and forth since doing it list:reference auth_user was giving the same error. Basically I am making a notifier/tracker application for the test automation team much like the i-tracker app available on web2py website and the one that you have described in your videos. So I have a table which stores, among other things, a field called assigned_to that optionally takes i.e. is empty or is in db auth_user and is a single entry and this works perfectly. But now i also want to have another optional field of cc_list so that we can add more people in the cc for a particular task or let it remain empty. I also have an auth.signature on that table, don't know if that might be a reason for the error. So the foreign key error comes up when the form is submitted.
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/IS5nViBP1TY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.