Re: Authentication Django RestFramework

2018-04-20 Thread Amirul Abu
Dear Musharaf, If you want authentication built-in you should use Django and not Django REST Framework. On Fri, Apr 20, 2018 at 2:58 PM, Andréas Kühne wrote: > Hi Musharef, > > Yes, everything you are asking for is possible. However as far as I know > there is no standard solution for your pr

Re: Authentication Django RestFramework

2018-04-19 Thread Andréas Kühne
Hi Musharef, Yes, everything you are asking for is possible. However as far as I know there is no standard solution for your problem, you will have to write all of that by yourself. That being said, it's not that hard: 1. A view for registration - returns a created username / password - or the use

Authentication Django RestFramework

2018-04-19 Thread Musharaf Baig
There is not register/login mechanism for users. I need two types of authentication: 1. To make it available I would like to let the user use it for free with a limited number of call s or time - for example after the API is called 50 times, I would like that the token expi