Re: DRF without login

2015-08-14 Thread Prabath Peiris
I set this in my setting.py file and it worked REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [], 'DEFAULT_PERMISSION_CLASSES': [], } Thank You Prabath On Thursday, August 13, 2015 at 5:11:35 PM UTC-4, Xavier Ordoquy wrote: > > > Le 13 août 2015 à 23:06, Prabath Peiris

Re: DRF without login

2015-08-13 Thread Xavier Ordoquy
> Le 13 août 2015 à 23:06, Prabath Peiris a écrit : > > Hi Hi > I am trying to implement a DRF in existing django project. I installed the > drf and set up APiView (class based) and add the get() to the class. When I > call this get method I get an error as

DRF without login

2015-08-13 Thread Prabath Peiris
Hi I am trying to implement a DRF in existing django project. I installed the drf and set up APiView (class based) and add the get() to the class. When I call this get method I get an error as "Exception Value: no such table: auth_user" and also create a db.sqlite3 database. how can I just