All of lore.kernel.org
 help / color / mirror / Atom feed
* Can DATABASE_URL also be read from toaster.conf
@ 2014-05-30 19:20 Lerner, Dave
  2014-06-03 13:09 ` Damian, Alexandru
  0 siblings, 1 reply; 3+ messages in thread
From: Lerner, Dave @ 2014-05-30 19:20 UTC (permalink / raw)
  To: DAMIAN, ALEXANDRU, toaster@yoctoproject.org

Hi Alex,

In your latest 20140650-bldcontrol push, you include a simpler model to specify a global database path via a shell variable, DATABASE_URL.  If set, the variable is parsed in settings.py, overriding the simple $pwd/toaster.sqlite, ... values.  It works great for me.

What do you think of reading DATABASE_URL, if present, from conf/toaster.conf?

That value would override the shell variable value if both are present?  If neither the toaster.conf:DATABASE_URL nor the shell variable DATABASE_URL exist, then it defaults as it does now.  

Thanks,
Dave Lerner


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-03 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 19:20 Can DATABASE_URL also be read from toaster.conf Lerner, Dave
2014-06-03 13:09 ` Damian, Alexandru
2014-06-03 13:26   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.