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)