On Thu, Jan 17, 2013 at 5:39 AM, damien rompapas <hlvro...@gmail.com> wrote:
> I am sorry if the question is not clear enough. Yes it is not clear :) are you trying to create a table inside a table? it is not permitted on relational dbms. (are you using NOSQL)? I think you want to create separate tables and create relations? *BTW: you dont need the trailing ; in Python db.define_table('post', # fields here! ) db.define_table('Thoughts', Field('Editedby', db.auth_user, default=None, readable=True, writable=True), Field('TitleOfPost',requires=IS_NOT_EMPTY()), Field('ContentOfPost','text',requires=IS_NOT_EMPTY()), Field('DatePosted','date'), Field('DP_Large', 'upload', uploadfield='picture_file'), Field('picture_file', 'blob'), Field('comments', "reference post") ) try to use all lowercase names for table and fields. --