I normally put settings in models/0.py but it is not a rule. you can define any variable like
response.myvar as long as it is not there already. Even if new settings were to be defined by future web2py versions it is unlikely there will be conflict since yours would override them. On Oct 23, 10:56 am, iiijjjiii <iiijjj...@gmail.com> wrote: > I would like to display a version number (of the application, not > web2py) in the footer of layout.html. It would seem creating a new > setting similar to the author setting would work well. > > Questions: > > 1) Can I create custom settings? Will web2py upgrades have any affect > on them? > > 2) Where should settings be inserted? I see settings in these files > applications/xxxx/models/db.py > applications/xxxx/private/settings.py > > and they are also stored in a database table. > > Thanks, > iiijjjiii --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---