Hi Mike,

Many thanks for the heads and up and confirmation that it can be done, much 
appreciated

Kind regards
Aziz

On Wednesday, October 26, 2022 at 12:16:00 AM UTC+1 
mikeol...@open4businessonline.com wrote:

> 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 <(951)%20260-0793> | Mobile:**NEW* 639479927462
> US Toll free: 1-800-985-4766 <(800)%20985-4766> **NEW*
> http://www.o4bo.com
> Mas marunong akong umunawa ng salitang tagalog kaysa magkapagsalita nito 
> [image: Facebook] 
> <http://www.facebook.com/pages/Open-4-Business-Online/147285608707176> 
> [image: 
> Twitter] <https://twitter.com/O4BO> [image: LinkedIn] 
> <http://ph.linkedin.com/pub/mike-oliver/0/1b9/197> [image: AngelList] 
> <https://angel.co/open-4-business-online/> [image: Blogger] 
> <http://blog.open4businessonline.com/> [image: eBay] 
> <http://www.store.o4bo.com/servlet/StoreFront> [image: YouTube] 
> <http://www.youtube.com/channel/UCruaIEFosh9uvfkQCq7mtKw> [image: Google 
> Plus Page] <https://plus.google.com/113688478700619104336/posts>
> Contact me: [image: Google Talk] mikeol...@open4businessonline.com [image: 
> Skype] MikeOliverAZ
>
>
>
> On Fri, Oct 21, 2022 at 12:06 AM Aziz Mek <azi...@gmail.com> wrote:
>
>> Hi All,
>>
>> I was wondering  if you have come across the following:
>>
>> I have a field in the model that's empty, when the user fills it up and 
>> clicks Save, it
>> should trigger/call a management Command (This command is already build 
>> that sends emails ), Django docs say i can use call_command but not sure 
>> how to implement it with the save
>>
>> I am just after the trigger really when the save takes place
>>
>> Many thanks in advance
>>
>> Kind regards
>> Aziz
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/a0ca69f0-6065-4b86-a977-cfb6dcab8fd7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/a0ca69f0-6065-4b86-a977-cfb6dcab8fd7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1de3fda8-162e-4b83-b740-b65cea41eaf4n%40googlegroups.com.

Reply via email to