To make this possible the user must have a profile such that if they signed in 
to the page they only can see informations attached to that user.

There are different ways to achieve this
But first there should be an authentication in place. 
The settings can then be done either from the template or from the views.py so 
that when the user is logged in this information will be visible to their ‘id’.

> On 1. Mar 2023, at 13:45, Ikrombek <ikromde...@gmail.com> wrote:
> 
> How to make a user's post visible only to that user using Django
> -- 
> 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/4e825c08-b0d6-4104-8d4c-3b1e09fe851cn%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/9E5A8C65-D512-487D-B0F9-7A759BFE56AF%40gmail.com.

Reply via email to