class Meta: resource_name = 'geonotes' queryset = GeoNote.objects.all() authorization = Authorization() filtering = { 'points': ALL, 'lines': ALL, 'polys': ALL, }
class Meta: resource_name = 'notes' authorization = Authorization() filtering = { 'content': ['startswith', 'exact'], 'title': ALL, 'slug': ['exact'], } ordering = ['title', 'slug', 'resource_uri'] queryset = Note.objects.all()
class Meta: queryset = Bone.objects.all() resource_name = 'bone' authorization = Authorization()
class Meta: resource_name = 'notes' queryset = Note.objects.filter(is_active=True) authorization = Authorization()
class Meta: resource_name = 'annotated' queryset = AnnotatedNote.objects.all() authorization = Authorization() validation = FormValidation(form_class=AnnotatedNoteForm)
class Meta: queryset = AuthorProfile.objects.all() authentication = BasicAuthentication() authorization = Authorization()
class Meta: resource_name = 'products' queryset = Product.objects.all() authorization = Authorization()
class Meta: resource_name = 'notes' queryset = Note.objects.all() authorization = Authorization()
class Meta: resource_name = 'forum' queryset = Forum.objects.prefetch_related('moderators', 'members') authorization = Authorization() always_return_data = True
class Meta: queryset = Job.objects.all() resource_name = 'job' authorization = Authorization() allowed_methods = ('get', 'put', 'post')
class Meta: queryset = Payment.objects.all() resource_name = 'payment' authorization = Authorization() allowed_methods = ('get', 'put', 'post')
class Meta: queryset = Post.objects.all() resource_name = 'post' authorization = Authorization()
class Meta: resource_name = 'users' queryset = User.objects.all() allowed_methods = ['get', 'put'] authorization = Authorization()
class Meta: resource_name = 'label' queryset = Label.objects.all() authorization = Authorization()
class Meta: queryset = Dog.objects.all() resource_name = 'dog' authorization = Authorization()
class Meta: resource_name = 'sessionusers' queryset = User.objects.all() authentication = SessionAuthentication() authorization = Authorization()
class Meta: queryset = Order.objects.all() resource_name = 'order' authorization = Authorization()
class Meta: queryset = ContactGroup.objects.prefetch_related('members') resource_name = 'contactgroup' authorization = Authorization()
class Meta: resource_name = 'users' queryset = User.objects.all() authorization = Authorization()
class Meta: queryset = Contact.objects.prefetch_related('groups') resource_name = 'contact' authorization = Authorization()
class Meta: queryset = User.objects.all() authentication = BasicAuthentication() authorization = Authorization() excludes = ['email', 'password', 'is_staff', 'is_superuser']
class Meta: resource_name = 'noteswithupdatableuser' queryset = Note.objects.all() authorization = Authorization()
class Meta: queryset = User.objects.all() authorization = Authorization()
class Meta: resource_name = 'category' queryset = Category.objects.all() authorization = Authorization()
class Meta: resource_name = 'users' queryset = User.objects.all() authorization = Authorization() validation = FormValidation(form_class=UserForm)
class Meta: resource_name = 'taggabletag' queryset = TaggableTag.objects.all() authorization = Authorization()
class Meta: resource_name = 'notes' queryset = Note.objects.all() authorization = Authorization() validation = FormValidation(form_class=NoteForm) filtering = {"created": ALL}
class Meta: queryset = SlugBasedNote.objects.all() resource_name = 'slugbased' detail_uri_name = 'slug' authorization = Authorization()
class Meta: resource_name = 'ratings' queryset = Rating.objects.all() authorization = Authorization()
class Meta: queryset = Person.objects.all() resource_name = 'person' authorization = Authorization()