How to create an individual instagram message into threads?

2023-08-27 Thread Ram
Hi,

We are using Instagram clone messaging in our ecommerce application where
users contact each other about market place item (sell/buy items). Once the
messaging started between two users on an item
1. we want to keep the further messaging regarding that item to be
continued like an email thread so that all the messaging about that item
will be in one thread.
2. New messaging on new market place item will be again new thread.
3. It would be nice each thread has a title of the market place item so
that same users can go back to previous history of messages on that
particular item whenever they want.

I'm wondering whether anyone has implemented the above features using
instagram clone in your Django application?

Best regards,
~Ram

-- 
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/CA%2BOi5F2StrASMiZd3BvcZLrxkCESPywamLV4_hmVDQqEvz9vtw%40mail.gmail.com.


Re: How to access gmail

2023-08-27 Thread Carl Karsten
Assuming the question is: "How do I send mail using my gmail account?"

ret = connection.send_messages([email])
https://github.com/CarlFK/veyepar/blob/master/dj/scripts/email_ab.py#L140

In my local_settings.py:

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER="c...@nextdayvideo.com"
EMAIL_HOST_PASSWORD="mypassword"

On Sun, Aug 27, 2023 at 1:23 PM 'Kasper Laudrup' via Django users
 wrote:
>
> On 26/08/2023 13.59, TASLIMA S wrote:
> >
> > Dear friends,
> > I am developing an email signature web application.
> > How to access gmail mails to my application.
> >
>
> https://developers.google.com/gmail/api/guides
>
> Kind regards,
> Kasper Laudrup
>
> --
> 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/2e0feaab-2b9d-4901-9546-299a81e5ac3e%40stacktrace.dk.



-- 
Carl K

-- 
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/CADmzSSg_exhigdMirFwJ1%3D%3DprXsoh%2B4L9Jn1RWbksFyNcqy%3Diw%40mail.gmail.com.


Re: How to access gmail

2023-08-27 Thread 'Kasper Laudrup' via Django users

On 26/08/2023 13.59, TASLIMA S wrote:


Dear friends,
I am developing an email signature web application.
How to access gmail mails to my application.



https://developers.google.com/gmail/api/guides

Kind regards,
Kasper Laudrup

--
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/2e0feaab-2b9d-4901-9546-299a81e5ac3e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Digest for django-users@googlegroups.com - 6 updates in 3 topics

2023-08-27 Thread johnc711
 Document
[image: awaymail logo white]
I'm Currently Away

Thanks for your email. I am away from my email until:
Monday, August 28th 7AM

Thanks for your message. I am currently away from checking email. I will be
back to check email on . If you need to reach me, please click here.
Breakthrough


AwayMail helps you auto-mange your email when you are away.
Get Away

django-users@googlegroups.com Google Groups Topic digest View all topics
UpdateView and DeleteView - 4 Updates How to access gmail - 1 Update Unable
to display records in form - 1 Update UpdateView and
[image: awaymail logo blue]

This is an automated email. You are receiving this because you sent an
email to django-users@googlegroups.com. John Chase uses AwayMail to
automate their away messages.

-- 
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/CAEeVnozAgHE%2BVToGEZGG4NGmQByc8em6awu9ip0kfd2bnXgndg%40mail.gmail.com.


Re: UpdateView and DeleteView

2023-08-27 Thread 'Simon Connah' via Django users
Will do! Thank you for your help.


--- Original Message ---
On Saturday, August 26th, 2023 at 19:30, Ruby  wrote:


> I'm glad it worked out,Consider using LoginRequiredMixin to ensure that 
> current user is authenticated before accessing the view.
> 

> 

> On Sat, Aug 26, 2023, 16:23 'Simon Connah' via Django users 
>  wrote:
> 

> > Thank you! That is very helpful.
> > 

> > 

> > --- Original Message ---
> > On Saturday, August 26th, 2023 at 14:07, Ruby  
> > wrote:
> > 

> > 

> > > You can simply set a test case using the built-in user passes test 
> > > (https://docs.djangoproject.com/en/4.2/topics/auth/default/#django.contrib.auth.decorators.user_passes_test)
> > > 

> > > On Sat, Aug 26, 2023, 11:20 'Simon Connah' via Django users 
> > >  wrote:
> > > 

> > > > I want to make sure that the only people who can update and delete an 
> > > > object are either superusers or the person that originally created them 
> > > > but I'm not sure how to go about doing it. Can someone point me in the 
> > > > right direction?
> > > > 

> > > > I'm not sure which method(s) to override.
> > > > 

> > > > Thank you.
> > > > 

> > > > 

> > 

> > --
> > 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/iT1fh6Btk96LInLjgvQNNIOeqZTL6TMcV5IbsAmfVdnR1ujaNPCbV_zhJeXr5o7emCHzK_BHnYDtyxQ1ZJVu7oDGqyDRkJirWsaGto-5bbA%3D%40protonmail.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/CAPUD46vM6PEJK4btLa-DCF8-VvExdnJ2OpzB0-Z6h03CVWvzOg%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/nMbslf1DnsTi42UmcaQZjvuHxoVVxPQapPAABp-aN5zswI1iBp61YS-J9IwUsRPyTb_87IJsY5rMktNRS9h6rY57zUjT_4fJzdSU8Dxuiec%3D%40protonmail.com.


signature.asc
Description: OpenPGP digital signature