Re: Notification System

2021-02-15 Thread Omkar Parab
Simplest solution is, import "send_mail" and add that after form.save in your create_post function/view. If you want push notifications then search about django FCM/GCM. On Tue, Feb 16, 2021, 10:14 AM Kumar Gaurav wrote: > Hi Everyone, > > I have a LinkedIn kind of portal where I want to implem

Re: Notification System

2021-02-15 Thread Atif Usman
i m using Firebase rest api for push notifications to all registered devices using https://fcm.googleapis.com if u want to send push notifications to target user then use to: deviceToken else to: topic

maping url

2021-02-15 Thread Peter Kirieny
hi guys, i cloned a project from github and then added a new app into my project now am trying to map my app's url to my project but i get this error TypeError: argument of type 'type' is not iterable anyone with any idea kindly help -- You received this message because you are subscribed to th

Re: Notification System

2021-02-15 Thread Rama akki
You have to use Websocket and asyn function for separate notification system On Tue, 16 Feb 2021, 10:15 am Kumar Gaurav, wrote: > Hi Everyone, > > I have a LinkedIn kind of portal where I want to implement Notification > system. It is only used within a team. I want to send email notification to

Notification System

2021-02-15 Thread Kumar Gaurav
Hi Everyone, I have a LinkedIn kind of portal where I want to implement Notification system. It is only used within a team. I want to send email notification to all the members whenever a new post is posted. What is the best way to implement this in Djnago ?? Thank You!! -- You receive

Re: Classifieds page loading is to slow

2021-02-15 Thread Salima Begum
Thanks, How to design a database to store into a table calculated distance API . Please Help me to achieve this thank you. On Tue, Feb 2, 2021 at 10:59 AM Benny M wrote: > You could try caching your results, or even store them in the table, or > related table. If the ads location doesn’t change,

How to design database for saving data into table

2021-02-15 Thread Salima Begum
Hi all, By using API calculating Distance between two Zip codes(post codes) But Here is my question. When user loading page always running API is not good coding so, I want to save that into one table and show that data into classifieds page( items listings). So, Here We are calculating distance b

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Yeah but this doesn't work. I describe IT in my Last Post why Regards MOHIT DILIP MAKWANA schrieb am Mo., 15. Feb. 2021, 15:22: > Hey, > You can add a dunder method for your "Productinterests" model to > return the name of the object instead of the name of model. > It involves the use of

Re: django-filters many to many

2021-02-15 Thread MOHIT DILIP MAKWANA
Hey, You can add a dunder method for your "Productinterests" model to return the name of the object instead of the name of model. It involves the use of '__str__()' method. You can implement it in the following way: class Productinterests(models.Model): id = models.AutoField(primary_k

Onvif Implementation

2021-02-15 Thread programs learn
Hello Everyone, Can anybody help me to implement ONVIF protocol implementation using django and mainly fetch the stream from CCTV. -- 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,

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Hello, now it shows on frontend the name. Problem is, that in value also string is instead id. For example: Test but this must be: Test How can i change this? Regards Am Mo., 15. Feb. 2021 um 05:32 Uhr schrieb Agni Venus : >

Re: django-filters many to many

2021-02-15 Thread Sebastian Jung
Good morning, Yeah it works. Thank you Agni Venus schrieb am Mo., 15. Feb. 2021, 05:32: > Put this inside and below if your model > > > > Def __str__(self): > return self.what-ever-name-you-want > > On Mon, 15 Feb, 2021, 10:01 am Agni Venus, wrote: > >> Put this below the model... >> Add >> De