The app has a ready method which is called after the initialization is
complete. You might be able to do your setup there...
- Tom
> On May 23, 2021, at 9:22 AM, Benjamin Schollnick
> wrote:
>
> Okay, this was a bit more complex, and a bit simpler than I thought.
>
> 1) The Django app __ini
Okay, this was a bit more complex, and a bit simpler than I thought.
1) The Django app __init__ is the only place you can place the signal to stop
the watchdog function.
2) You can’t perform any app model specific work in the __init__ because the
app’s model frame work wasn’t yet finished ini
Folks,
I’m working on revamping the Gallery/viewer application that I wrote in Django.
One issue I’ve had is that it’s a dynamic on the fly thumbnail creator, but
I’ve used a homebrew (fairly successfully) cached system to keep track of the
directories & file contents. Unlike many of the other
3 matches
Mail list logo