after doing this i am getting another error

On Wed, May 22, 2019 at 11:44 AM Abu Yusuf <[email protected]>
wrote:

> It's middleware. Not middleware_classes:
>
> MIDDLEWARE = [
> 'django.middleware.security.SecurityMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware',
> # 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> ]
>
> On Wed, May 22, 2019 at 12:11 PM sagar ninave <[email protected]>
> wrote:
>
>> i am also using same url.py
>>
>>
>> On Wed, May 22, 2019 at 11:33 AM Abu Yusuf <[email protected]>
>> wrote:
>>
>>> I did use this urls.py:
>>>
>>> from django.conf.urls import url
>>> from django.contrib import admin
>>> from django.urls import path
>>> # from microblog.admin import microblogs_admin_site
>>>
>>> urlpatterns = [
>>> path('admin/', admin.site.urls),
>>> # url(r'^microblogs-admin/', microblogs_admin_site.urls),
>>> ]
>>>
>>>
>>> On Wed, May 22, 2019 at 12:00 PM Abu Yusuf <[email protected]>
>>> wrote:
>>>
>>>> It's working fine.
>>>> [image: wsgi.png]
>>>>
>>>> On Wed, May 22, 2019 at 11:57 AM sagar ninave <[email protected]>
>>>> wrote:
>>>>
>>>>> when i am opening admin panel then it is getting error
>>>>>
>>>>> On Wed, May 22, 2019 at 11:19 AM Abu Yusuf <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> I did run your project and it's working fine.
>>>>>>
>>>>>> On Wed, May 22, 2019 at 11:43 AM sagar ninave <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> no i am getting this error again
>>>>>>>
>>>>>>>
>>>>>>> On Wed, May 22, 2019 at 10:25 AM Abu Yusuf <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Comment out the
>>>>>>>>
>>>>>>>> #'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
>>>>>>>>
>>>>>>>> in your settings.py file in Middleware or remove. Then run again.
>>>>>>>> It will work.
>>>>>>>>
>>>>>>>> On Wed, May 22, 2019 at 10:36 AM Abu Yusuf <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> This issue has been resolved yet?
>>>>>>>>>
>>>>>>>>> On Tue, May 21, 2019 at 4:55 PM sagar ninave <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> my manage.py is in project folder you can check attachment
>>>>>>>>>>
>>>>>>>>>> On Mon, May 20, 2019 at 5:42 PM Abu Yusuf <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Where is your manage.py file?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, May 20, 2019 at 11:57 AM sagar ninave <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>  AttributeError at /admin/  'WSGIRequest' object has no
>>>>>>>>>>>> attribute 'user'  Request Method:     GET Request URL:
>>>>>>>>>>>> http://127.0.0.1:8000/admin/ Django Version:     2.2 Exception
>>>>>>>>>>>> Type:     AttributeError Exception Value:       'WSGIRequest' 
>>>>>>>>>>>> object has no
>>>>>>>>>>>> attribute '
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> i am getting this error please help me
>>>>>>>>>>>> i have attached zipfile of my project
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>>> To post to this group, send email to
>>>>>>>>>>>> [email protected].
>>>>>>>>>>>> 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/eee17c55-c0ec-408d-bd54-10539e93cb9b%40googlegroups.com
>>>>>>>>>>>> <https://groups.google.com/d/msgid/django-users/eee17c55-c0ec-408d-bd54-10539e93cb9b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>> .
>>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>> To post to this group, send email to
>>>>>>>>>>> [email protected].
>>>>>>>>>>> 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/CACNsr28zF%2BgtfQ3_-07qjVPoCz6Hy03Bq0zAaazj3d86zknJJA%40mail.gmail.com
>>>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CACNsr28zF%2BgtfQ3_-07qjVPoCz6Hy03Bq0zAaazj3d86zknJJA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>>>>>>> sagar ninave
>>>>>>>>>> about.me/sagarninave
>>>>>>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> 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 [email protected].
>>>>>>>>>> To post to this group, send email to
>>>>>>>>>> [email protected].
>>>>>>>>>> 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/CAA6pdZ_WeaebY%3DHUAPN8ee4h7nrJSZx%3DsEM0h6ZjZ3tE76gXyA%40mail.gmail.com
>>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAA6pdZ_WeaebY%3DHUAPN8ee4h7nrJSZx%3DsEM0h6ZjZ3tE76gXyA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>>> .
>>>>>>>>>> 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 [email protected].
>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>> 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/CACNsr28P1XBUGypOiBoQiV5RZ0ax1%3DF%2BTowA5eK6UPEJhq7yaw%40mail.gmail.com
>>>>>>>> <https://groups.google.com/d/msgid/django-users/CACNsr28P1XBUGypOiBoQiV5RZ0ax1%3DF%2BTowA5eK6UPEJhq7yaw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>>>> sagar ninave
>>>>>>> about.me/sagarninave
>>>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>>>>
>>>>>>> --
>>>>>>> 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 [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> 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/CAA6pdZ9w53hg8NOJEiJMp4fhtqc32y9ObFqSfUme2Xpx1R2m0g%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/django-users/CAA6pdZ9w53hg8NOJEiJMp4fhtqc32y9ObFqSfUme2Xpx1R2m0g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>> 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 [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> 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/CACNsr29t48a2jGZ0UEoKiKD2ttzdTvYLMtk9frS4AF%2BTUoja%3DA%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/django-users/CACNsr29t48a2jGZ0UEoKiKD2ttzdTvYLMtk9frS4AF%2BTUoja%3DA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>> sagar ninave
>>>>> about.me/sagarninave
>>>>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> 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/CAA6pdZ_0tF5e3RZ460yMQX3z8Jd2ziB%2BxD_-C1MvnRA0PA1faA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAA6pdZ_0tF5e3RZ460yMQX3z8Jd2ziB%2BxD_-C1MvnRA0PA1faA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> 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/CACNsr2-MTu8v8pT%3DneNSVmHJuigQHoTunohbe1kz%3DgHPA15YYg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CACNsr2-MTu8v8pT%3DneNSVmHJuigQHoTunohbe1kz%3DgHPA15YYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>>
>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>> sagar ninave
>> about.me/sagarninave
>> <https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/CAA6pdZ8osBnYPRmDzU3DmhjiFHg1z7tt_OoiuRg%3D%2B2HCckY0sQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAA6pdZ8osBnYPRmDzU3DmhjiFHg1z7tt_OoiuRg%3D%2B2HCckY0sQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/CACNsr294xz7rFaXitKqNdUWEd8qdmChYrKOZtZ6EyaUXaDvZhQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACNsr294xz7rFaXitKqNdUWEd8qdmChYrKOZtZ6EyaUXaDvZhQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
<https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
sagar ninave
about.me/sagarninave
<https://about.me/sagarninave?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAA6pdZ8W8AZ_ZmRRGg4ZwFryRQX9x0ahQ79endFQFa_A5iw8%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to