brk-code

django-rest-framework の API リファレンス

django-rest-framework (encode/django-rest-framework) の公開 API 49 件 —— クラス 42、関数 4、メソッド 3。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: encode/django-rest-framework

種別件数
クラス42
関数4
メソッド3

API 一覧

classrest_framework.authentication.RemoteUserAuthentication
REMOTE_USER authentication.
classrest_framework.authentication.SessionAuthentication
Use Django's session framework for authentication.
classrest_framework.authentication.TokenAuthentication
Simple token based authentication.
classrest_framework.authtoken.admin.TokenChangeList
Map to matching User id
classrest_framework.authtoken.models.Token
The default authorization token model.
methodrest_framework.authtoken.models.Token.save(*args, **kwargs)
Save the token instance.
classrest_framework.authtoken.models.TokenProxy
Proxy mapping pk to user pk for use in admin.
classrest_framework.exceptions.APIException
Base class for REST framework exceptions.
classrest_framework.exceptions.ErrorDetail
A string-like object that can additionally have a code.
funcrest_framework.exceptions.bad_request(request, exception, *args, **kwargs)
Generic 400 error handler.
funcrest_framework.exceptions.server_error(request, *args, **kwargs)
Generic 500 error handler.
classrest_framework.fields.BuiltinSignatureError
Built-in function signatures are not inspectable.
classrest_framework.fields.IPAddressField
Support both IPAddressField and GenericIPAddressField
classrest_framework.fields.ReadOnlyField
A read-only field that simply returns the field value.
classrest_framework.generics.CreateAPIView
Concrete view for creating a model instance.
classrest_framework.generics.DestroyAPIView
Concrete view for deleting a model instance.
classrest_framework.generics.GenericAPIView
Base class for all other generic views.
methodrest_framework.generics.GenericAPIView.get_queryset()
Get the list of items for this view.
classrest_framework.generics.ListAPIView
Concrete view for listing a queryset.
classrest_framework.generics.RetrieveAPIView
Concrete view for retrieving a model instance.
classrest_framework.generics.UpdateAPIView
Concrete view for updating a model instance.
classrest_framework.metadata.SimpleMetadata
This is the default metadata implementation.
classrest_framework.mixins.CreateModelMixin
Create a model instance.
classrest_framework.mixins.DestroyModelMixin
Destroy a model instance.
classrest_framework.mixins.ListModelMixin
List a queryset.
classrest_framework.mixins.RetrieveModelMixin
Retrieve a model instance.
classrest_framework.mixins.UpdateModelMixin
Update a model instance.
classrest_framework.pagination.LimitOffsetPagination
A limit/offset based style.
classrest_framework.parsers.FileUploadParser
Parser for file upload data.
classrest_framework.parsers.FormParser
Parser for form data.
classrest_framework.parsers.JSONParser
Parses JSON-serialized data.
classrest_framework.permissions.AllowAny
Allow any access.
classrest_framework.permissions.IsAdminUser
Allows access only to admin users.
classrest_framework.permissions.IsAuthenticated
Allows access only to authenticated users.
classrest_framework.renderers.BrowsableAPIRenderer
HTML renderer used to self-document the API.
classrest_framework.renderers.HTMLFormRenderer
Renderers serializer data into an HTML form.
classrest_framework.renderers.JSONRenderer
Renderer which serializes to JSON.
classrest_framework.renderers.TemplateHTMLRenderer
An HTML renderer for use with templates.
classrest_framework.request.Empty
Placeholder for unset attributes.
classrest_framework.routers.APIRootView
The default basic root view for DefaultRouter
classrest_framework.schemas.inspectors.ViewInspector
Descriptor class on APIView.
methodrest_framework.schemas.inspectors.ViewInspector.view()
View property.
classrest_framework.test.URLPatternsTestCase
Isolate URL patterns on a per-TestCase basis.
classrest_framework.throttling.BaseThrottle
Rate throttling of requests.
classrest_framework.utils.field_mapping.ClassLookupDict
Takes a dictionary with classes as keys.
classrest_framework.utils.formatting.lazy_format
Delay formatting until it's actually needed.
funcrest_framework.utils.timezone.datetime_ambiguous(dt:datetime)
Check whether a datetime is ambiguous.
funcrest_framework.utils.timezone.datetime_exists(dt)
Check if a datetime exists.
classrest_framework.viewsets.ViewSetMixin
This is the magic.

この情報について

掲載しているシグネチャは encode/django-rest-framework の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る