lakshitha kumara
2018-11-13 01:56:18 UTC
Hello Guys,
I'm developing a mobile app and website with one Django backend. all web
browser(mobile browser included) using session auth and mobile app using
Rest API with OAuth 2 authentications. I would like to know the best way
to handle Django middleware with web and mobile app.
For example, there are using verification middleware. currently, I'm trying
to do if user not verifies then redirect to the verification page but this
method hard to handle mobile app.i cant check mobile device method also
because of mobile also behaviour like a web browser.
one solution is using custom Django decorator
Is there are any other solution for this method?
Thanks
I'm developing a mobile app and website with one Django backend. all web
browser(mobile browser included) using session auth and mobile app using
Rest API with OAuth 2 authentications. I would like to know the best way
to handle Django middleware with web and mobile app.
For example, there are using verification middleware. currently, I'm trying
to do if user not verifies then redirect to the verification page but this
method hard to handle mobile app.i cant check mobile device method also
because of mobile also behaviour like a web browser.
one solution is using custom Django decorator
Is there are any other solution for this method?
Thanks
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/6087f0e9-7709-47ad-b50f-fe759fb72c4d%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+***@googlegroups.com.
To post to this group, send email to django-***@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/6087f0e9-7709-47ad-b50f-fe759fb72c4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.