On Wed, 17 Apr 2019, Rich Shepard wrote:
Getting closer. Added a blank __init.py__ in the models/ subdirectory. Now
I'm looking for the proper syntax to import the relevant class within that
module.
So more work on my part.
I'm moving this thread to the python mail list; it's a python
On Wed, 17 Apr 2019, Rich Shepard wrote:
What is the proper syntax to import models as m a in a view module, e.g.,
activities.py? The syntax, 'import model as m' fails because it is not in
the same subdirectory as the importing module.
Getting closer. Added a blank __init.py__ in the models/
My web search for an existing Tkinter search dialog box found nothing. I'm
looking for a pointer to a module or method if one exists.
In this application the user needs to find database rows based on two class
columns: lname and fname and display results in the appropriate data entry
dialog
My application intends to follow the MVC pattern. The model.py module is
../model/model.py while the Tkinter views are in ../views/. Both are
relative to the application's main directory:
bustrac/
README.rst
bustrac.py*
controller/
images/
model/
scripts/
views/
What is the
On Wednesday, April 17, 2019 at 4:36:30 AM UTC-4, tonthon wrote:
>
> May the scoped_session factory, used in both services (web and celery),
> may cause such a problem ?
>
Apologies for my earlier reply, that would only affect exceptions in
Celery. I do suggest checking your Celery code to
Yes, celery is running in a separate service. The objects are never
passed from the web app to the celery service, only ids are passed,
Objects are then retrieved on the celery side.
May the scoped_session factory, used in both services (web and celery),
may cause such a problem ?
Le