Tasty pie reutrns 401 unauthorized even when i commented out authorization and authentication

11 views
Skip to first unread message

Anubhav Kaushik

unread,
May 7, 2015, 5:24:20 AM5/7/15
to django...@googlegroups.com
i added
v1_api.register(ArtistResource())
in my main url


and this is the code in meta class

 class Meta:
        queryset = Artist.objects.all()
        resource_name = 'artist'
        #authentication = Authentication()
       # authorization = Authorization()
        excludes = ['rating', 'override_rating', 'force_inclusion']
        allowed_methods = ['get','post']
        aklogger.info(Artist.objects.all)
Reply all
Reply to author
Forward
0 new messages