On Tuesday, 7 April 2020 18:49:36 UTC+5:30, Akshat Zala wrote:
>
> You can use decorator before start of view:
> No need to write different view for user and admin.
>
> @login_required(*redirect_field_name='next'*, *login_url=None)*
>
> On Monday, 6 April 2020 19:05:33 UTC+5:30, kkwaqar786 wrote:
>>
>> Loggin not working ,
>>
>> Please Help Me,
>>
>> Admin:
>>
>> username:-admin
>> password:-admin
>>
>> User:
>>
>> username:-waqar
>> password:-Test@123
>>
>>
>>
>> Please Solved my Problems ,Django groups
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/39e239db-1490-49b2-a1d1-cfb07b18d554%40googlegroups.com.

Reply via email to