Perhaps you should provide your full models, since day as well as
worker in class WorkingDay refer to a model called Notary. I'm
probably also not sure what you are trying to describe with your
models - but shouldn't worker in WorkingDay refer to your class worker
(btw: call it Worker with big W,
Hallo - i'm kind of newbie in django, but actually like it very much.
I need to make a search panel in web site where users could search
worker by name, city etc, and by working time and day. I would like to
make this panel using django db-api, not raw sql.
Here are two models.
--
2 matches
Mail list logo