On Oct 7, 5:12 pm, Terrence Brannon <
metap...@gmail.com> wrote:
> Here we see a simple Elixir model -
http://elixir.ematia.de/trac/wiki/TutorialDivingIn
>
> The questions are:
>
> - how do we need to change that code to get it to work with Nagare?
> Let's assume that the metadata.bind assignment will occur in models.py
> and not via the configuration file
apparently the MetaData() call handles all that
>
> - why does the default models.py have a variable named __metadata__
> while the Elixir sample model has a variable named metadata
just look in the .cfg file in your app's directory and it will be
obvious:
[database]
activated = off
uri = sqlite:///$here/../data/gnubux.db
metadata = gnubux.models:__metadata__
debug = off