Aziz,
I had a similar need and I created my own middleware that checked the
request path and did the call when I got a match.
See https://docs.djangoproject.com/en/4.1/ref/middleware/
*Mike Oliver** Founder**, Open 4 Business Online*
Tel: +1(951)260-0793 | Mobile:**NEW* 639479927462
US Toll
ervisor.ChutheIOMiddleware",
> ]
>
> Think you should try by shell to make sure you can call it, or importable
> `from mysite.mymiddleware import DoseControllerMiddleware`. Shell very
> helpful.
> On Thu, Aug 25, 2022 at 11:09 AM Mike Oliver <
> mike
..
ModuleNotFoundError: No module named 'mysite.mymiddleware'
On Thursday, August 25, 2022 at 12:04:55 PM UTC+8 Mike Oliver wrote:
> Well I have continued to search and now I see that CustomMiddleware will
> do what I want, but I cannot find a current example and some of the
> StackOverflow ans
uld you tell us more detail of process flow?
>
> On Wed, 24 Aug 2022 at 20:52 Mike Oliver <
> mikeol...@open4businessonline.com> wrote:
>
>> Hello,
>>
>> I want to follow a microservices architecture and have some shared
>> services I can include in
Hello,
I want to follow a microservices architecture and have some shared services
I can include in a process flow instead of the 1:1 View:Model
Suggestions?
MO
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
5 matches
Mail list logo