On Aug 28, 8:03 pm, Mirat Bayrak <miratcanbay...@gmail.com> wrote: > Hi, i am trying to build a site thats like twitter (but not same). Users can > delete or edit their entries in my site but i coulndt find how can i show > options. > > I want to list entries and if an entry is users (logged user i mean) i want > to show edit end delete options. How can i do that?
Hi Mirat, You can user, user.is_authenticated() method to check whether the user is authenticated or not. For more details please visit: http://docs.djangoproject.com/en/dev/topics/auth/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---