On Monday, September 7, 2015 at 1:55:17 PM UTC-7, Heather Dawe wrote:
>
> Hello there,
>
> I am new to web2py - it is a brilliant framework thank you. I am running
> the latest version, defining my models and encountering this error when
> attempting to add a record to a table that defines a many-to-many
> relationship - when I attempt to add a record to table
> ModelInstanceDataItemValue (listed in the model code below). I have
> searched for solutions and can't find any. This may well be a beginner's
> problem but I can't see why it is throwing up the error.
>
[...]
> db.define_table('ModelInstance',
> Field('name'),
> Field('ModelType', 'reference ModelType'),
> format='%name)s')
>
Is this a transcription error, or did an lparen disappear in your code?
The format line appears to be missing a character.
/dps
--
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/d/optout.