Hello Thomas,
Pehaps the first thing would be to link your model to your prefered User model, Django provides you with a default though.
And then you can play with the ORM querysets to filter currently active user related entries.
But we could be more helpful if you shared more details on your implementation.
Thanks,
Alison
Pehaps the first thing would be to link your model to your prefered User model, Django provides you with a default though.
And then you can play with the ORM querysets to filter currently active user related entries.
But we could be more helpful if you shared more details on your implementation.
Thanks,
Alison
On Mon, Apr 1, 2019 at 2:19 PM Omar Abou Mrad <omar.aboumrad@gmail.com> wrote:
Dear Thomas,A little bit more information would give us more insight on how to help you.What are you currently struggling with?Can you show us your models code?Regards,--On Mon, Apr 1, 2019 at 3:03 PM Thomas Mathias <mathiasthomas17@gmail.com> wrote:Hello guys i have a django blog app and wanted to fetch all the post of the logged in user such that he is able to delete them.help guys--
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+unsubscribe@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/d8223d5e-d22a-47a5-89de-e72b8247f38a%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+unsubscribe@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/CAFwtXp0XZ_wBw05DxUQgzRwNit3gzhK1PM8OhEubxZZAYwA6vA%40mail.gmail.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+unsubscribe@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/CAKLADicg943CDVFa92iZ9RyZEO0-aigpb%2BF2PnDfZ%3DmkcPJ6SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment