Hello Samarjeet, “Can I do this?” and “How can I do this?” questions also go to django-users.
May I kindly suggest writing to the django-users mailing list until someone tells you an issue you’re facing is likely a bug in Django that hasn’t been reported yet ? Then you can create a ticket on https://code.djangoproject.com/ or a thread on the django-developers mailing list, whichever seems more appropriate. There are thousands of subscribers to the django-developers list, which is dedicated to the development of Django itself, as opposed to development with Django I hope you can understand that not all of them are interested in following your first steps with Django. Thanks! -- Aymeric. > On 05 May 2016, at 08:18, Samarjeet Singh <samarjeethsi...@gmail.com> wrote: > > Right now what django is doing is :- > > 1. It checks the session id is correct or not by checking the user associated > with the session id > 2. If the session id is not present it send the user as anonomous and because > of which it redirects one to the login page . > 3. But my concern is that if i want to log this event in the audit log of my > application using django to get the false session id request.Is it possible > to write a middleware for this?? > > > regards > samarjeet singh > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com > <mailto:django-developers+unsubscr...@googlegroups.com>. > To post to this group, send email to django-developers@googlegroups.com > <mailto:django-developers@googlegroups.com>. > Visit this group at https://groups.google.com/group/django-developers > <https://groups.google.com/group/django-developers>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/132029df-d095-47e9-801f-4b8283010f37%40googlegroups.com > > <https://groups.google.com/d/msgid/django-developers/132029df-d095-47e9-801f-4b8283010f37%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/FA98600D-DAED-42D2-A4FA-8050CFB38FB1%40polytechnique.org. For more options, visit https://groups.google.com/d/optout.