Le 13 août 2015 à 23:06, Prabath Peiris <prabath@peirisclothing.com> 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 "Exception Value: no such table: auth_user" and also create a db.sqlite3 database. how can I just simply have a api (without models or without any authentications)
You probably want to turn off the DRF authentication / permissions system (http://www.django-rest-framework.org/api-guide/authentication/#setting-the-authentication-scheme and http://www.django-rest-framework.org/api-guide/permissions/#setting-the-permission-policy).
ThanksPrabath
Regards,
Xavier,
Linovia.
No comments:
Post a Comment