*Can't retrieve value of reference field (tested in views and in models using represent)* {{=DIV('%s - %s' % (row_person.id_card.id_card_type, row_person.id_card.id_card_number) ) }} *Error:* ... RuntimeError: Using a recursive select but encountered a broken reference: id_card 1 *Solution: * change row_person.id_card.id_card_type into row_person.id_card (just show the id not the value)
*Cant' run execute_sql() to create index* db.executesql('CREATE INDEX idx_auth_user ON auth_user (id, first_name, last_name, email, username);') *Error:* ... AttributeError: 'Mongo' object has no attribute 'execute' *Solution: * commented it for now, check on pydal github, there is a solution for this, but don't know how to create an mongodb index in pydal, any hints? best regards, stifan -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.