If you want to show posts, which I assume is blog posts or something (not seen in your code) You would add an additional queryset that is passed to your template
Something like Posts.objects.filter(user_id=pk) Sent from my mobile device > On May 10, 2018, at 6:45 PM, objectiveapps...@gmail.com wrote: > > I want to Display Users Posts also whether it is logged in or logged out When > I click the everyone User It will show me users Profile Info but I want > everyone user's posts also How Can I Solve This > > Here is my code > https://dpaste.de/KBcF > > Thank You in Advance > -- > 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 post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/aa97858a-71a7-4c65-b5c0-b7afe0ac0364%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7824C06B-2CFE-4382-809F-5AEF03407B58%40gmail.com. For more options, visit https://groups.google.com/d/optout.