Re: Agricultural and livestock marketplace plus social network as a whole

2024-03-15 Thread Michal Plsek
1/ looking like 100k production product, dont really think this can seriously be deployed by couple of volunteers (even if there is future split of 20%, which is not so much for this kind of job btw) 2/ look if django-oscar has api you could use, it already has 75% of required functionality 3/ or l

Re: ANYONE TO HELP ME ON HOW TO CREATE AN AUTOMATIC NOTIFICATION SYSTEM THAT SENDS A MESSAGE WHENEVER AN OBJECT IS CREATED OR MODIFIED

2023-09-04 Thread Michal Plsek
Just register post_update signal with the Model you want to "watch" to be created/updated, and in optimal case send message to some asynchronous queue, which will take message 15 minutes late and processes it by creating Notification object. For example async queue = aws sqs, they even support 15mi

Curious about ModelAdmin internals.. how the hell does it work

2021-09-01 Thread Michal Plsek
Hello, I would like to know about this (although I hacked around it, but I am still curious): if I have model which contains ForeignKey attribute and I am using autocomplete_fields on it, where is the found FK of foreign object saved on ModelAdmin page? Numerical ID of foreign object represente