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 learn to program yourself, either BE/FE

If you need some information write me, i like crazy stuff like this :-))

Dne pá 15. 3. 2024 23:33 uživatel Jorge Bueno 
napsal:

> Hello Muhammad , Pd: I forgot to mention that I offer 20% of the company
> to be distributed among the programmers who are in the project,
> according to work this percentage talk to country code:+2207675336 if you
> are interested
>
>
> El viernes, 15 de marzo de 2024 a las 21:20:39 UTC+1, Muhammad Juwaini
> Abdul Rahman escribió:
>
>> In summary, you're looking for free labour?
>>
>> On Sat, 16 Mar 2024 at 03:49, Jorge Bueno  wrote:
>>
>>> Good evening everyone, I need help in my personal project to create an
>>> agricultural and livestock marketplace and an agricultural and livestock
>>> social network as a whole.Longer explanation:Farmers and ranchers leave
>>> their products in our logistics centers and we publish on the web the
>>> products they have brought us, then the customer orders the products with a
>>> minimum purchase value to make it profitable and I take care of the
>>> storage, packaging and shipping to customers. That is the part of getting
>>> the products to the customer. In addition, we also have the part where the
>>> producers can talk about the whole process behind it, the tasks they
>>> perform daily, anecdotes and they can do it in video format apart from the
>>> message if they wish. Currently, the project is in its initial phase. I
>>> have created a detailed backlog and configured the repositories for the
>>> backend and frontend. Here are the links to the repositories:
>>>
>>> Backend: https://github.com/Programacionpuntera/Marketplace-again
>>>
>>> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>>>
>>> In addition, I have created a WhatsApp group for the project where we
>>> are discussing ideas and coordinating efforts. We currently have backend
>>> developers and are looking for frontend developers as well, but the more
>>> developers we have, the better.
>>>
>>> However, I am facing a challenge: I have no programming experience. I am
>>> looking for someone who is willing to collaborate on this project, using
>>> Python and Django for the backend, and Next.js and React for the frontend.
>>>
>>> Please feel free to take a look at the repositories and backlog. Any
>>> comments, suggestions or contributions will be greatly appreciated.
>>>
>>> Thanks for your time and I look forward to working with you on this
>>> exciting project!
>>> PS: I've had people say they will collaborate on the project but then
>>> they don't collaborate on the project, please don't be that kind of person.
>>>
>>> Best regards,
>>>
>>> Jorge
>>>
>>> --
>>> 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/d160dccf-6582-4b1e-b9fe-186e10342b13n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/255c66ef-37b5-4309-968a-ac2fc8f846f3n%40googlegroups.com
> 
> .
>

-- 
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/CABaNTcUgV2Ke7BQr-ptdM_7Xz9fiXFO5TpqK%3DaY47OFhS71tRw%40mail.gmail.com.


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
15min delay you want.

Dne čt 31. 8. 2023 22:11 uživatel Andréas Kühne 
napsal:

> First of all - notification - what do you mean by notification?
>
> If you mean that the user should be notified in the instance when someone
> creates / updates / deletes your models - you will need to have either
> server side events or websockets to communicate with the frontend. You
> could also poll the server (for example every 5 minutes) to check for new
> messages. These solutions would require that you have some javascript on
> the frontend.
>
> To get this working on the backend - you would then need some sort of
> changes in the save method to send the notifications to the frontend. This
> could be as simple as creating a Notification model and then just creating
> a notification every time you update a model.
>
> Regards,
>
> Andréas
>
>
> Den tis 22 aug. 2023 kl 16:02 skrev Byansi Samuel <
> samuelbyans...@gmail.com>:
>
>> My views
>> from django.shortcuts import render def auto_notification(request):
>> return render (request, "user/dashboard.html")
>>
>> My models
>> from django.db import models from django.contrib.auth.models import User
>>
>> #articles model
>>
>> class Articles(models.Model):
>> title = models.CharField(max_length=300) date= models.DateField()
>> author=models.ForeignKey(User, on_delete=models.CASCADE)
>> body=models.TextField()
>>
>> def __str__(self) -> str:
>> return self.title
>>
>> #games model
>>
>> GAME_TYPE=( ("action", "action"), ("adventure", "adventure"), ("racing",
>> "racing"), ("puzzle", "puzzle"), )
>>
>> MOV_TYPE=( ("action", "action"), ("adventure", "adventure"), ("sci-fi",
>> "sci-fi"), ("horror", "horror"), ("drama", "drama"), )
>>
>> GAME_OS=( ("Windows", "Windows"), ("Android", "Android"), )
>>
>> class Games(models.Model): name=models.CharField(max_length=50)
>> type=models.CharField(max_length=40, choices=GAME_TYPE)
>> os=models.CharField(max_length=15, choices=GAME_OS) img=models.ImageField()
>> developer=models.CharField(max_length=50)
>> version=models.CharField(max_length=10)
>> ratings=models.CharField(max_length=10) description=models.TextField()
>>
>> def __str__(self) -> str:
>> return self.name class
>>
>> Movies(models.Model): name=models.CharField(max_length=50)
>> type=models.CharField(max_length=40, choices=MOV_TYPE)
>> description=models.TextField() released=models.DateField()
>>
>> def __str__(self) -> str:
>> return self.name
>>
>> I have three models below, but l like to create a Notification System to
>> send a message to a User whenever ;
>> 1. An object is created in all those models
>> 2. An object is modified in all those models
>>
>> And l would like to add trick that it sends the Notification Message
>> after 15 minutes of publiction or creation.
>>
>> And I would like to pass the following data if available in the object ;
>> 1. the Name of the Object,
>> 2. the Image of the Object, and
>> 3. the type of the Object.
>>
>> Lastly I would like to add a :
>> 1. Notification DELETE function, that gives User a way to delete that
>> Message , not to appear in his or notification section again.
>>
>> 2. Mark as Read function, that changes the Massage Div Color
>>
>> 3. A notification Barge that displays the UNREAD Messages.
>>
>> Am requesting anyone to help me Because Am stuck , I have no where to
>> Start from. I will be on waiting your guidelines.
>>
>> --
>> 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/CAGQoQ3wRpg%2BcT69wqUbapHbK7KSEfwU%2BxfJ-EKRCcddY6KwtnA%40mail.gmail.com
>> 
>> .
>>
> --
> 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/CAK4qSCdBb5kP_eF4_CK4F%2B3ibP_PvmgJetrGJs4a7PBZfxSYGg%40mail.gmail.com
> 
> .
>

-- 
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-user

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 represented by usual SELECTBOX is marked 
using **. I understand reasons why this is not 
done with autocomplete_fields, but I would presume the found value of FK 
would be saved in some* * or something like that, 
which is obviously not.

So, using autocomplete_fields, how can I get the found FK value on page?

(q on SO: 
https://stackoverflow.com/questions/69016647/where-is-id-saved-in-django-modeladmin-autocomplete-fields
 
)

-- 
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/b12187f2-af5c-4631-a20e-b7648c97e89bn%40googlegroups.com.