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 <[email protected] 
> <javascript:>> 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
> ).
>
> Thanks 
> Prabath 
>
>
> Regards,
> Xavier,
> Linovia.
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/703dde50-11da-4da9-a39c-e21bbbf5491d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to