Any options to clone/pull using Mercurial? On Mon, Oct 6, 2014 at 11:19 AM, Anthony <abasta...@gmail.com> wrote:
> Looks like for backward compatibility, the old dal.py had: > > DAL.Table = Table > > However, it appears this got dropped in the recent modularization. Perhaps > it should be added back in (not sure if other backward compatibility > assignments got dropped as well). > > Anthony > > > On Monday, October 6, 2014 2:18:49 AM UTC-4, Johann Spies wrote: >> >> Apology for the late answer. I was away for a few days. >> >> This is the traceback: >> >> Traceback (most recent call last): >> File "/home/js/web2py/gluon/restricted.py", line 224, in restricted >> exec ccode in environment >> File "/home/js/web2py/applications/init/models/db.py" >> <http://localhost:8000/admin/default/edit/init/models/db.py>, line 131, in >> <module> >> akb_signature_uuid = db.Table(db, 'akb_signature_uuid', >> File "/home/js/web2py/gluon/dal/base.py", line 891, in __getattr__ >> return ogetattr(self, key) >> AttributeError: 'DAL' object has no attribute 'Table' >> >> >> akb_signature_uuid = db.Table(db, 'akb_signature_uuid', >> Field('uuid', length = 36, default = >> lambda:str(uuid.uuid4()), >> notnull = True, writable = False, readable = >> False, >> unique = True, ondelete = 'CASCADE'), >> Field('created_on', 'datetime', default = >> request.now, >> readable = False, writable = False), >> Field('created_by', db.auth_user, default = >> auth.user_id, >> readable = False, writable = False), >> Field('updated_on', 'datetime', default = >> request.now, >> readable = False, writable = False), >> Field('updated_by', db.auth_user, update = >> auth.user_id, >> readable = False, writable = False) >> ) >> >> I know this is not necessary nowadays, but it was when I built the app. >> >> Regards >> Johann. >> >> >> -- >> Because experiencing your loyal love is better than life itself, >> my lips will praise you. (Psalm 63:3) >> > -- > 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/pvVGtt7lpdc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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.