brk-code

django の API リファレンス

django (django/django) の公開 API 400 件 —— クラス 276、関数 25、メソッド 99。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: django/django

種別件数
クラス276
関数25
メソッド99

API 一覧

classdjango.apps.config.AppConfig
Class representing a Django application and its configuration.
methoddjango.apps.config.AppConfig.get_models(include_auto_created=False, include_swapped=False)
Return an iterable of models.
classdjango.apps.registry.Apps
A registry that stores the configuration of installed applications.
methoddjango.apps.registry.Apps.get_swappable_settings_name(to_string)
For a given model string (e.g.
classdjango.conf.SettingsReference
String subclass which references a current settings value.
classdjango.conf.UserSettingsHolder
Holder for user configured settings.
classdjango.contrib.admin.apps.AdminConfig
The default AppConfig for admin which does autodiscovery.
classdjango.contrib.admin.apps.SimpleAdminConfig
Simple AppConfig which does not do automatic discovery.
classdjango.contrib.admin.exceptions.AlreadyRegistered
The model is already registered.
classdjango.contrib.admin.exceptions.NotRegistered
The model is not registered.
classdjango.contrib.admin.forms.AdminAuthenticationForm
A custom authentication form used in the admin app.
classdjango.contrib.admin.helpers.AdminErrorList
Store errors for the form/formsets in an add/change view.
classdjango.contrib.admin.options.BaseModelAdmin
Functionality common to both ModelAdmin and InlineAdmin.
methoddjango.contrib.admin.options.BaseModelAdmin.get_exclude(request, obj=None)
Hook for specifying exclude.
methoddjango.contrib.admin.options.BaseModelAdmin.get_fields(request, obj=None)
Hook for specifying fields.
methoddjango.contrib.admin.options.BaseModelAdmin.get_fieldsets(request, obj=None)
Hook for specifying fieldsets.
classdjango.contrib.admin.options.InlineModelAdmin
Options for inline editing of ``model`` instances.
classdjango.contrib.admin.utils.FieldIsAForeignKeyColumnName
A field is a foreign key attname, i.e.
funcdjango.contrib.admin.utils.reverse_field_path(model, path)
Create a reversed field path.
funcdjango.contrib.admin.utils.unquote(s)
Undo the effects of quote().
classdjango.contrib.admin.views.autocomplete.AutocompleteJsonView
Handle AutocompleteWidget's AJAX requests for data.
classdjango.contrib.admin.widgets.FilteredSelectMultiple
A SelectMultiple with a JavaScript filter interface.
classdjango.contrib.admindocs.middleware.XViewMiddleware
Add an X-View header to internal HEAD requests.
funcdjango.contrib.admindocs.utils.parse_docstring(docstring)
Parse out the parts of a docstring.
classdjango.contrib.admindocs.views.BaseAdminDocsView
Base view for admindocs views.
funcdjango.contrib.auth.aauthenticate(request=None, **credentials)
See authenticate().
funcdjango.contrib.auth.aget_user(request)
See get_user().
funcdjango.contrib.auth.alogin(request, user, backend=None)
See login().
funcdjango.contrib.auth.alogout(request)
See logout().
funcdjango.contrib.auth.aupdate_session_auth_hash(request, user)
See update_session_auth_hash().
classdjango.contrib.auth.backends.ModelBackend
Authenticates against settings.AUTH_USER_MODEL.
methoddjango.contrib.auth.backends.ModelBackend.aget_user_permissions(user_obj, obj=None)
See get_user_permissions().
methoddjango.contrib.auth.backends.ModelBackend.ahas_module_perms(user_obj, app_label)
See has_module_perms()
classdjango.contrib.auth.forms.AuthenticationForm
Base class for authenticating users.
classdjango.contrib.auth.forms.SetPasswordMixin
Form mixin that validates and sets a password for a user.
classdjango.contrib.auth.hashers.Argon2PasswordHasher
Secure password hashing using the argon2 algorithm.
classdjango.contrib.auth.hashers.ScryptPasswordHasher
Secure password hashing using the Scrypt algorithm.
funcdjango.contrib.auth.hashers.acheck_password(password, encoded, setter=None, preferred='default')
See check_password().
funcdjango.contrib.auth.hashers.verify_password(password, encoded, preferred='default')
Return two booleans.
classdjango.contrib.auth.mixins.LoginRequiredMixin
Verify that the current user is authenticated.
classdjango.contrib.auth.models.GroupManager
The manager for the auth's Group model.
classdjango.contrib.auth.password_validation.MinimumLengthValidator
Validate that the password is of a minimum length.
classdjango.contrib.auth.password_validation.NumericPasswordValidator
Validate that the password is not entirely numeric.
classdjango.contrib.auth.views.LoginView
Display the login form and handle the login action.
methoddjango.contrib.auth.views.LoginView.form_valid(form)
Security check complete.
methoddjango.contrib.auth.views.LoginView.get_default_redirect_url()
Return the default redirect URL.
methoddjango.contrib.auth.views.LogoutView.get_default_redirect_url()
Return the default redirect URL.
methoddjango.contrib.auth.views.LogoutView.post(request, *args, **kwargs)
Logout may be done via POST.
classdjango.contrib.contenttypes.forms.BaseGenericInlineFormSet
A formset for generic inline objects to a parent.
classdjango.contrib.gis.db.backends.oracle.models.OracleGeometryColumns
Maps to the Oracle USER_SDO_GEOM_METADATA table.
classdjango.contrib.gis.db.backends.oracle.models.OracleSpatialRefSys
Maps to the Oracle MDSYS.CS_SRS table.
classdjango.contrib.gis.db.backends.postgis.models.PostGISGeometryColumns
The 'geometry_columns' view from PostGIS.
classdjango.contrib.gis.db.backends.postgis.models.PostGISSpatialRefSys
The 'spatial_ref_sys' table from PostGIS.
classdjango.contrib.gis.db.backends.spatialite.adapter.SpatiaLiteAdapter
SQLite adapter for geometry objects.
classdjango.contrib.gis.db.backends.spatialite.models.SpatialiteGeometryColumns
The 'geometry_columns' table from SpatiaLite.
classdjango.contrib.gis.db.backends.spatialite.models.SpatialiteSpatialRefSys
The 'spatial_ref_sys' table from SpatiaLite.
classdjango.contrib.gis.db.models.fields.BaseSpatialField
The Base GIS Field.
classdjango.contrib.gis.db.models.fields.ExtentField
Used as a return value from an extent aggregate
classdjango.contrib.gis.db.models.lookups.SameAsLookup
The "~=" operator is the "same as" operator.
classdjango.contrib.gis.db.models.sql.conversion.AreaField
Wrapper for Area values.
classdjango.contrib.gis.db.models.sql.conversion.DistanceField
Wrapper for Distance values.
classdjango.contrib.gis.forms.fields.GeometryField
This is the basic form field for a Geometry.
classdjango.contrib.gis.forms.widgets.BaseGeometryWidget
The base class for rich geometry widgets.
classdjango.contrib.gis.forms.widgets.OSMWidget
An OpenLayers/OpenStreetMap-based widget.
classdjango.contrib.gis.gdal.datasource.DataSource
Wraps an OGR Data Source object.
methoddjango.contrib.gis.gdal.datasource.DataSource.name()
Return the name of the data source.
classdjango.contrib.gis.gdal.driver.Driver
Wrap a GDAL/OGR Data Source Driver.
methoddjango.contrib.gis.gdal.envelope.Envelope.ll()
Return the lower-left coordinate.
methoddjango.contrib.gis.gdal.envelope.Envelope.tuple()
Return a tuple representing the envelope.
methoddjango.contrib.gis.gdal.envelope.Envelope.ur()
Return the upper-right coordinate.
classdjango.contrib.gis.gdal.envelope.OGREnvelope
Represent the OGREnvelope C Structure.
methoddjango.contrib.gis.gdal.feature.Feature.fid()
Return the feature identifier.
classdjango.contrib.gis.gdal.field.Field
Wrap an OGR Field.
methoddjango.contrib.gis.gdal.field.Field.as_string()
Retrieve the Field's value as a string.
methoddjango.contrib.gis.gdal.field.Field.name()
Return the name of this Field.
methoddjango.contrib.gis.gdal.field.Field.precision()
Return the precision of this Field.
methoddjango.contrib.gis.gdal.field.Field.type()
Return the OGR type of this Field.
methoddjango.contrib.gis.gdal.field.Field.value()
Return the value of this Field.
methoddjango.contrib.gis.gdal.field.Field.width()
Return the width of this Field.
classdjango.contrib.gis.gdal.geometries.GeometryCollection
The Geometry Collection class.
methoddjango.contrib.gis.gdal.geometries.LineString.m()
Return the M coordinates in a list.
methoddjango.contrib.gis.gdal.geometries.LineString.x()
Return the X coordinates in a list.
methoddjango.contrib.gis.gdal.geometries.LineString.y()
Return the Y coordinates in a list.
methoddjango.contrib.gis.gdal.geometries.LineString.z()
Return the Z coordinates in a list.
classdjango.contrib.gis.gdal.geometries.OGRGeometry
Encapsulate an OGR geometry.
methoddjango.contrib.gis.gdal.geometries.OGRGeometry.clone()
Clone this OGR Geometry.
methoddjango.contrib.gis.gdal.geometries.OGRGeometry.geom_name()
Return the Name of this Geometry.
methoddjango.contrib.gis.gdal.geometries.OGRGeometry.num_coords()
Alias for `point_count`.
methoddjango.contrib.gis.gdal.geometries.OGRGeometry.wkb_size()
Return the size of the WKB buffer.
methoddjango.contrib.gis.gdal.geometries.Point.tuple()
Return the tuple of this point.
methoddjango.contrib.gis.gdal.geometries.Polygon.shell()
Return the shell of this Polygon.
classdjango.contrib.gis.gdal.geomtype.OGRGeomType
Encapsulate OGR Geometry Types.
funcdjango.contrib.gis.gdal.prototypes.geom.env_func(f, argtypes)
For getting OGREnvelopes.
funcdjango.contrib.gis.gdal.prototypes.geom.pnt_func(f)
For accessing point information.
classdjango.contrib.gis.gdal.raster.base.GDALRasterBase
Attributes that exist on both GDALRaster and GDALBand.
classdjango.contrib.gis.gdal.raster.source.GDALRaster
Wrap a raster GDAL Data Source object.
methoddjango.contrib.gis.gdal.raster.source.GDALRaster.height()
Height (Y axis) in pixels.
methoddjango.contrib.gis.gdal.raster.source.GDALRaster.name()
Return the name of this raster.
methoddjango.contrib.gis.gdal.raster.source.GDALRaster.origin()
Coordinates of the raster origin.
methoddjango.contrib.gis.gdal.raster.source.GDALRaster.width()
Width (X axis) in pixels.
classdjango.contrib.gis.gdal.srs.CoordTransform
The coordinate system transformation object.
classdjango.contrib.gis.gdal.srs.SpatialReference
A wrapper for the OGRSpatialReference object.
methoddjango.contrib.gis.gdal.srs.SpatialReference.proj4()
Alias for proj().
classdjango.contrib.gis.geos.error.GEOSException
The base GEOS exception, indicates a GEOS-related error.
classdjango.contrib.gis.geos.geometry.GEOSGeometry
A class that, generally, encapsulates a GEOS geometry.
classdjango.contrib.gis.geos.geometry.LinearGeometryMixin
Used for LineString and MultiLineString.
classdjango.contrib.gis.geos.libgeos.GEOSFuncFactory
Lazy loading of GEOS functions.
classdjango.contrib.gis.geos.mutable_list.ListMixin
A base class which provides complete list interface.
methoddjango.contrib.gis.geos.mutable_list.ListMixin.append(val)
Standard list append method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.count(val)
Standard list count method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.extend(vals)
Standard list extend method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.index(val)
Standard list index method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.insert(index, val)
Standard list insert method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.pop(index=-1)
Standard list pop method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.remove(val)
Standard list remove method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.reverse()
Standard list reverse method
methoddjango.contrib.gis.geos.mutable_list.ListMixin.sort(key=None, reverse=False)
Standard list sort method
methoddjango.contrib.gis.geos.point.Point.tuple()
Return a tuple of the point.
methoddjango.contrib.gis.geos.point.Point.x()
Return the X component of the Point.
methoddjango.contrib.gis.geos.point.Point.y()
Return the Y component of the Point.
methoddjango.contrib.gis.geos.point.Point.z()
Return the Z component of the Point.
classdjango.contrib.gis.geos.prototypes.coordseq.CsInt
For coordinate sequence routines that return an integer.
classdjango.contrib.gis.geos.prototypes.coordseq.CsOperation
For coordinate sequence operations.
classdjango.contrib.gis.geos.prototypes.geom.GeomOutput
For GEOS routines that return a geometry.
classdjango.contrib.gis.geos.prototypes.geom.IntFromGeom
Argument is a geometry, return type is an integer.
classdjango.contrib.gis.geos.prototypes.geom.StringFromGeom
Argument is a Geometry, return type is a string.
classdjango.contrib.gis.geos.prototypes.io.IOBase
Base class for GEOS I/O objects.
classdjango.contrib.gis.geos.prototypes.predicates.BinaryPredicate
For GEOS binary predicate functions.
classdjango.contrib.gis.geos.prototypes.predicates.UnaryPredicate
For GEOS unary predicate functions.
classdjango.contrib.gis.geos.prototypes.threadsafe.GEOSContextHandle
Represent a GEOS context handle.
classdjango.contrib.gis.geos.prototypes.threadsafe.GEOSFunc
Serve as a wrapper for GEOS C Functions.
classdjango.contrib.gis.geos.prototypes.topology.Topology
For GEOS unary topology functions.
classdjango.contrib.gis.serializers.geojson.Serializer
Convert a queryset to GeoJSON, http://geojson.org/
classdjango.contrib.gis.sitemaps.kml.KMLSitemap
A minimal hook to produce KML sitemaps.
classdjango.contrib.gis.utils.layermapping.LayerMapping
A class that maps OGR Layers to GeoDjango Models.
funcdjango.contrib.gis.views.feed(request, url, feed_dict=None)
Provided for backwards compatibility.
classdjango.contrib.messages.middleware.MessageMiddleware
Middleware that handles temporary messages.
classdjango.contrib.messages.storage.base.BaseStorage
This is the base backend for temporary message storage.
methoddjango.contrib.messages.storage.base.BaseStorage.add(level, message, extra_tags='')
Queue a message to be stored.
methoddjango.contrib.messages.storage.base.BaseStorage.update(response)
Store all unread messages.
classdjango.contrib.messages.storage.cookie.CookieStorage
Store messages in a cookie.
classdjango.contrib.messages.storage.fallback.FallbackStorage
Try to store all messages in the first backend.
funcdjango.contrib.messages.utils.get_level_tags()
Return the message level tags.
classdjango.contrib.messages.views.SuccessMessageMixin
Add a success message on successful form submission.
classdjango.contrib.postgres.fields.ranges.ContinuousRangeField
Continuous range field.
classdjango.contrib.postgres.fields.ranges.RangeBoundary
A class that represents range boundaries.
classdjango.contrib.postgres.operations.CreateCollation
Create a collation.
classdjango.contrib.postgres.operations.RemoveCollation
Remove a collation.
classdjango.contrib.postgres.operations.ValidateConstraint
Validate a table NOT VALID constraint.
classdjango.contrib.postgres.validators.KeysValidator
A validator designed for HStore to require/restrict keys.
classdjango.contrib.sessions.backends.base.SessionBase
Base class for all Session classes.
methoddjango.contrib.sessions.backends.base.SessionBase.create()
Create a new session instance.
methoddjango.contrib.sessions.backends.base.SessionBase.save(must_create=False)
Save the session data.
classdjango.contrib.sessions.backends.cache.SessionStore
A cache-based session store.
classdjango.contrib.sessions.backends.cached_db.SessionStore
Implement cached, database backed sessions.
methoddjango.contrib.sessions.backends.cached_db.SessionStore.aflush()
See flush().
classdjango.contrib.sessions.backends.db.SessionStore
Implement database session store.
methoddjango.contrib.sessions.backends.db.SessionStore.acreate_model_instance(data)
See create_model_instance().
methoddjango.contrib.sessions.backends.db.SessionStore.asave(must_create=False)
See save().
classdjango.contrib.sessions.backends.file.SessionStore
Implement a file based session store.
classdjango.contrib.sessions.exceptions.InvalidSessionKey
Invalid characters in session key
classdjango.contrib.sessions.exceptions.SessionInterrupted
The session was interrupted.
classdjango.contrib.sessions.exceptions.SuspiciousSession
The session may be tampered with
classdjango.contrib.sessions.models.Session
Django provides full support for anonymous sessions.
classdjango.contrib.staticfiles.handlers.StaticFilesHandlerMixin
Common methods used by WSGI and ASGI handlers.
methoddjango.contrib.staticfiles.handlers.StaticFilesHandlerMixin.serve(request)
Serve the request path.
methoddjango.contrib.staticfiles.management.commands.collectstatic.Command.log(msg, level=2)
Small log helper
classdjango.contrib.staticfiles.storage.StaticFilesStorage
Standard file system storage for static files.
methoddjango.core.cache.backends.base.BaseCache.aget_many(keys, version=None)
See get_many().
methoddjango.core.cache.backends.base.BaseCache.aget_or_set(key, default, timeout=DEFAULT_TIMEOUT, version=None)
See get_or_set().
methoddjango.core.cache.backends.base.BaseCache.aincr(key, delta=1, version=None)
See incr().
methoddjango.core.cache.backends.base.BaseCache.aincr_version(key, delta=1, version=None)
See incr_version().
methoddjango.core.cache.backends.base.BaseCache.close(**kwargs)
Close the cache connection
methoddjango.core.cache.backends.base.BaseCache.set(key, value, timeout=DEFAULT_TIMEOUT, version=None)
Set a value in the cache.
classdjango.core.cache.backends.db.Options
A class that will quack like a Django model _meta class.
classdjango.core.cache.backends.memcached.PyLibMCCache
An implementation of a cache binding using pylibmc
classdjango.core.cache.backends.memcached.PyMemcacheCache
An implementation of a cache binding using pymemcache.
classdjango.core.checks.registry.Tags
Built-in tags for internal checks.
funcdjango.core.checks.urls.check_resolver(resolver)
Recursively check the resolver.
classdjango.core.exceptions.AppRegistryNotReady
The django.apps registry is not populated yet
classdjango.core.exceptions.BadRequest
The request is malformed and cannot be processed.
classdjango.core.exceptions.DisallowedHost
HTTP_HOST header contains invalid value
classdjango.core.exceptions.DisallowedRedirect
Redirect was too long or scheme was not in allowed list.
classdjango.core.exceptions.EmptyResultSet
A database query predicate is impossible.
classdjango.core.exceptions.FieldDoesNotExist
The requested model field does not exist
classdjango.core.exceptions.FieldError
Some kind of problem with a model field.
classdjango.core.exceptions.FieldFetchBlocked
On-demand fetching of a model field blocked.
classdjango.core.exceptions.FullResultSet
A database query predicate that matches everything.
classdjango.core.exceptions.ImproperlyConfigured
Django is somehow improperly configured
classdjango.core.exceptions.MiddlewareNotUsed
This middleware is not used in this server configuration
classdjango.core.exceptions.ObjectDoesNotExist
The requested object does not exist
classdjango.core.exceptions.ObjectNotUpdated
The updated object no longer exists.
classdjango.core.exceptions.PermissionDenied
The user did not have permission to do that
classdjango.core.exceptions.RequestAborted
The request was closed before it was completed, or timed out.
classdjango.core.exceptions.SuspiciousFileOperation
A Suspicious filesystem operation was attempted
classdjango.core.exceptions.SuspiciousMultipartForm
Suspect MIME request in multipart form data
classdjango.core.exceptions.SuspiciousOperation
The user did something suspicious
classdjango.core.exceptions.ValidationError
An error while validating data.
classdjango.core.exceptions.ViewDoesNotExist
The requested view does not exist
classdjango.core.files.storage.filesystem.FileSystemStorage
Standard filesystem storage
classdjango.core.files.storage.memory.InMemoryDirNode
Helper class representing an in-memory directory node.
classdjango.core.files.storage.memory.InMemoryFileNode
Helper class representing an in-memory file node.
classdjango.core.files.storage.memory.InMemoryStorage
A storage saving files in memory.
classdjango.core.files.uploadedfile.InMemoryUploadedFile
A file uploaded into memory (i.e.
classdjango.core.files.uploadedfile.TemporaryUploadedFile
A file uploaded to a temporary location (i.e.
classdjango.core.files.uploadhandler.FileUploadHandler
Base class for streaming upload handlers.
classdjango.core.files.uploadhandler.StopUpload
This exception is raised when an upload must abort.
classdjango.core.files.uploadhandler.UploadFileException
Any error having to do with uploading files.
classdjango.core.handlers.asgi.ASGIHandler
Handler for ASGI requests.
methoddjango.core.handlers.asgi.ASGIHandler.handle(scope, receive, send)
Handles the ASGI request.
methoddjango.core.handlers.asgi.ASGIHandler.run_get_response(request)
Get async response.
classdjango.core.mail.backends.base.BaseEmailBackend
Base class for email backend implementations.
methoddjango.core.mail.backends.base.BaseEmailBackend.close()
Close a network connection.
methoddjango.core.mail.backends.base.BaseEmailBackend.open()
Open a network connection.
classdjango.core.mail.backends.locmem.EmailBackend
An email backend for use during test sessions.
classdjango.core.mail.backends.smtp.EmailBackend
A wrapper that manages the SMTP network connection.
classdjango.core.mail.exceptions.InvalidMailer
A settings.MAILERS entry has a configuration error.
classdjango.core.mail.exceptions.MailerDoesNotExist
The requested alias is not defined in settings.MAILERS.
classdjango.core.mail.message.EmailMessage
A container for email information.
methoddjango.core.mail.message.EmailMessage.send(fail_silently=False, *using=None)
Send the email message.
methoddjango.core.management.base.BaseCommand.handle(*args, **options)
The actual logic of the command.
classdjango.core.management.base.OutputWrapper
Wrapper around stdout/stderr
classdjango.core.management.base.SystemCheckError
The system check framework detected unrecoverable errors.
methoddjango.core.management.commands.loaddata.Command.save_obj(obj)
Save an object if permitted.
funcdjango.core.management.execute_from_command_line(argv=None)
Run a ManagementUtility.
funcdjango.core.management.utils.popen_wrapper(args, stdout_encoding='utf-8')
Friendly wrapper around Popen.
methoddjango.core.paginator.Paginator.num_pages()
Return the total number of pages.
classdjango.core.serializers.base.DeserializationError
Something bad happened during deserialization.
classdjango.core.serializers.base.DeserializedObject
A deserialized model.
classdjango.core.serializers.base.Deserializer
Abstract base deserializer class.
classdjango.core.serializers.base.SerializationError
Something bad happened during serialization.
classdjango.core.serializers.base.Serializer
Abstract serializer base class.
methoddjango.core.serializers.base.Serializer.handle_m2m_field(obj, field)
Called to handle a ManyToManyField.
classdjango.core.serializers.base.SerializerDoesNotExist
The requested serializer was not found.
funcdjango.core.serializers.base.build_instance(Model, data, db)
Build a model instance.
funcdjango.core.serializers.deserialize(format, stream_or_string, **options)
Deserialize a stream or a string.
classdjango.core.serializers.json.Deserializer
Deserialize a stream or string of JSON data.
classdjango.core.serializers.json.Serializer
Convert a queryset to JSON.
classdjango.core.serializers.jsonl.Deserializer
Deserialize a stream or string of JSON data.
classdjango.core.serializers.jsonl.Serializer
Convert a queryset to JSON Lines.
classdjango.core.serializers.python.Serializer
Serialize a QuerySet to basic Python objects.
classdjango.core.serializers.pyyaml.Deserializer
Deserialize a stream or string of YAML data.
classdjango.core.serializers.pyyaml.Serializer
Convert a queryset to YAML.
funcdjango.core.serializers.register_serializer(format, serializer_module, serializers=None)
Register a new serializer.
funcdjango.core.serializers.unregister_serializer(format)
Unregister a given serializer.
classdjango.core.serializers.xml_serializer.DTDForbidden
Document type definition is forbidden.
classdjango.core.serializers.xml_serializer.DefusedExpatParser
An expat parser hardened against XML bomb attacks.
classdjango.core.serializers.xml_serializer.DefusedXmlException
Base exception.
classdjango.core.serializers.xml_serializer.Deserializer
Deserialize XML.
classdjango.core.serializers.xml_serializer.EntitiesForbidden
Entity definition is forbidden.
classdjango.core.serializers.xml_serializer.ExternalReferenceForbidden
Resolving an external reference is forbidden.
classdjango.core.serializers.xml_serializer.Serializer
Serialize a QuerySet to XML.
methoddjango.core.serializers.xml_serializer.Serializer.handle_m2m_field(obj, field)
Handle a ManyToManyField.
classdjango.core.servers.basehttp.ThreadedWSGIServer
A threaded version of the WSGIServer
classdjango.core.servers.basehttp.WSGIServer
BaseHTTPServer that implements the Python WSGI protocol
classdjango.core.signing.BadSignature
Signature does not match.
classdjango.core.signing.SignatureExpired
Signature timestamp is older than required max_age.
classdjango.db.backends.base.base.BaseDatabaseWrapper
Represent a database connection.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.connect()
Connect to the database.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.copy(alias=None)
Return a copy of this connection.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.create_cursor(name=None)
Create a cursor.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.get_autocommit()
Get the autocommit state.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.savepoint_commit(sid)
Release a savepoint.
methoddjango.db.backends.base.base.BaseDatabaseWrapper.savepoint_rollback(sid)
Roll back to a savepoint.
classdjango.db.backends.base.validation.BaseDatabaseValidation
Encapsulate backend-specific validation.
classdjango.db.backends.ddl_references.Columns
Hold a reference to one or many columns.
classdjango.db.backends.ddl_references.ForeignKeyName
Hold a reference to a foreign key name.
classdjango.db.backends.ddl_references.IndexName
Hold a reference to an index name.
classdjango.db.backends.ddl_references.Reference
Base class that defines the reference interface.
classdjango.db.backends.ddl_references.Statement
Statement template and formatting parameters container.
classdjango.db.backends.ddl_references.Table
Hold a reference to a table.
classdjango.db.backends.ddl_references.TableColumns
Base class for references to multiple columns of a table.
classdjango.db.backends.oracle.base.FormatStylePlaceholderCursor
Django uses "format" (e.g.
classdjango.db.backends.oracle.base.OracleParam
Wrapper object for formatting parameters for Oracle.
classdjango.db.backends.postgresql.base.CursorMixin
A subclass of psycopg cursor implementing callproc.
classdjango.db.backends.postgresql.psycopg_any.DjangoRangeDumper
A Range dumper customized for Django.
classdjango.db.migrations.exceptions.AmbiguityError
More than one migration matches a name prefix.
classdjango.db.migrations.exceptions.BadMigrationError
There's a bad migration (unreadable/bad format/etc.).
classdjango.db.migrations.exceptions.CircularDependencyError
There's an impossible-to-resolve circular dependency.
classdjango.db.migrations.exceptions.InvalidBasesError
A model's base classes can't be resolved.
classdjango.db.migrations.exceptions.IrreversibleError
An irreversible migration is about to be reversed.
classdjango.db.migrations.graph.DummyNode
A node that doesn't correspond to a migration file on disk.
classdjango.db.migrations.graph.MigrationGraph
Represent the digraph of all migrations in a project.
classdjango.db.migrations.graph.Node
A single node in the migration graph.
classdjango.db.migrations.migration.Migration
The base class for all migrations.
classdjango.db.migrations.operations.base.Operation
Base class for migration operations.
classdjango.db.migrations.operations.fields.AddField
Add a field to a model.
classdjango.db.migrations.operations.fields.AlterField
Alter a field's database column (e.g.
classdjango.db.migrations.operations.fields.RemoveField
Remove a field from a model.
classdjango.db.migrations.operations.fields.RenameField
Rename a field on the model.
classdjango.db.migrations.operations.models.AddIndex
Add an index on a model.
classdjango.db.migrations.operations.models.AlterIndexTogether
Change the value of index_together to the target one.
classdjango.db.migrations.operations.models.AlterModelManagers
Alter the model's managers.
classdjango.db.migrations.operations.models.AlterModelTable
Rename a model's table.
classdjango.db.migrations.operations.models.CreateModel
Create a model's table.
classdjango.db.migrations.operations.models.DeleteModel
Drop a model's table.
classdjango.db.migrations.operations.models.RemoveIndex
Remove an index from a model.
classdjango.db.migrations.operations.models.RenameIndex
Rename an index.
classdjango.db.migrations.operations.models.RenameModel
Rename a model.
classdjango.db.migrations.operations.special.RunSQL
Run some raw SQL.
classdjango.db.migrations.recorder.MigrationRecorder
Deal with storing migration records in the database.
methoddjango.db.migrations.recorder.MigrationRecorder.flush()
Delete all migration records.
classdjango.db.migrations.serializer.DateTimeSerializer
For datetime.*, except datetime.datetime.
classdjango.db.migrations.serializer.DatetimeDatetimeSerializer
For datetime.datetime.
classdjango.db.migrations.state.AppConfigStub
Stub of an AppConfig.
classdjango.db.migrations.state.ModelState
Represent a Django Model.
classdjango.db.migrations.state.ProjectState
Represent the entire project's overall state.
classdjango.db.models.base.ModelBase
Metaclass for all models.
classdjango.db.models.base.ModelState
Store model instance state.
funcdjango.db.models.base.subclass_exception(name, bases, module, attached_to)
Create exception subclass.
methoddjango.db.models.deletion.Collector.add_field_update(field, value, objs)
Schedule a field update.
classdjango.db.models.enums.Choices
Class for creating enumerated choices.
classdjango.db.models.enums.ChoicesType
A metaclass for creating a enum choices.
classdjango.db.models.enums.IntegerChoices
Class for creating enumerated integer choices.
classdjango.db.models.enums.TextChoices
Class for creating enumerated string choices.
classdjango.db.models.expressions.BaseExpression
Base class for all query expressions.
classdjango.db.models.expressions.Expression
An expression that can be combined with other expressions.
classdjango.db.models.expressions.ExpressionList
An expression containing multiple expressions.
classdjango.db.models.expressions.F
An object capable of resolving references to existing query objects.
classdjango.db.models.expressions.Func
An SQL function call.
classdjango.db.models.expressions.JSONNull
Represent JSON `null` primitive.
classdjango.db.models.expressions.NegatedExpression
The logical negation of a conditional expression.
classdjango.db.models.expressions.Ref
Reference to column alias of the query.
classdjango.db.models.expressions.ResolvedOuterRef
An object that contains a reference to an outer query.
classdjango.db.models.expressions.Sliced
An object that contains a slice of an F expression.
classdjango.db.models.expressions.Subquery
An explicit subquery.
classdjango.db.models.expressions.Value
Represent a wrapped value as a node within an expression.
classdjango.db.models.expressions.WindowFrame
Model the frame clause in window expressions.
classdjango.db.models.fields.DurationField
Store timedelta objects.
classdjango.db.models.fields.Field
Base class for all field types
methoddjango.db.models.fields.Field.flatchoices()
Flattened version of choices tuple.
methoddjango.db.models.fields.Field.select_format(compiler, sql, params)
Custom format for select clauses.
methoddjango.db.models.fields.Field.slice_expression(expression, start, length)
Return a slice of this field.
classdjango.db.models.fields.files.FileDescriptor
The descriptor for the file attribute on the model instance.
classdjango.db.models.fields.files.ImageFileDescriptor
Just like the FileDescriptor, but for ImageFields.
classdjango.db.models.fields.mixins.FieldCacheMixin
An API for working with the model's fields value cache.
classdjango.db.models.fields.related.RelatedField
Base class that all relational fields inherit from.
classdjango.db.models.functions.comparison.Cast
Coerce an expression to a new field type.
classdjango.db.models.functions.comparison.Coalesce
Return, from left to right, the first non-null expression.
classdjango.db.models.functions.comparison.Greatest
Return the maximum expression.
classdjango.db.models.functions.comparison.Least
Return the minimum expression.
classdjango.db.models.functions.datetime.ExtractIsoWeekDay
Return Monday=1 through Sunday=7, based on ISO-8601.
classdjango.db.models.functions.datetime.ExtractIsoYear
Return the ISO-8601 week-numbering year.
classdjango.db.models.functions.datetime.ExtractWeekDay
Return Sunday=1 through Saturday=7.
classdjango.db.models.functions.datetime.TruncWeek
Truncate to midnight on the Monday of the week.
classdjango.db.models.functions.text.Concat
Concatenate text fields together.
classdjango.db.models.functions.text.ConcatPair
Concatenate two arguments together.
classdjango.db.models.functions.text.Length
Return the number of characters in the expression.
methoddjango.db.models.indexes.Index.clone()
Create a copy of this Index.
classdjango.db.models.indexes.IndexExpression
Order and wrap expressions for CREATE INDEX statements.
classdjango.db.models.lookups.IntegerFieldFloatRounding
Allow floats to work as query values for IntegerField.
classdjango.db.models.lookups.PostgresOperatorLookup
Lookup defined by operators on PostgreSQL.
methoddjango.db.models.manager.BaseManager.get_queryset()
Return a new QuerySet object.
classdjango.db.models.query.ModelIterable
Iterable that yields a model instance for each row.
classdjango.db.models.query.QuerySet
Represent a lazy database lookup for a set of objects.
methoddjango.db.models.query.QuerySet.fetch_mode(fetch_mode)
Set the fetch mode for the QuerySet.
methoddjango.db.models.query.QuerySet.none()
Return an empty QuerySet.
methoddjango.db.models.query.QuerySet.only(*fields)
Essentially, the opposite of defer().
methoddjango.db.models.query.QuerySet.reverse()
Reverse the ordering of the QuerySet.
classdjango.db.models.query_utils.DeferredAttribute
A wrapper for a deferred-loading field.
classdjango.db.models.query_utils.FilteredRelation
Specify custom filtering in the ON clause of SQL joins.
methoddjango.db.models.sql.compiler.SQLCompiler.has_results()
Backends (e.g.
classdjango.db.models.sql.query.Query
A single SQL query.
methoddjango.db.models.sql.query.Query.clear_limits()
Clear any existing limits.
methoddjango.db.models.sql.query.Query.clone()
Return a copy of the current Query.
classdjango.db.models.sql.query.RawQuery
A single raw SQL query.
classdjango.db.models.sql.subqueries.DeleteQuery
A DELETE SQL query.
classdjango.db.models.sql.subqueries.UpdateQuery
An UPDATE SQL query.
classdjango.db.models.sql.where.NothingNode
A node that matches nothing.
classdjango.db.models.sql.where.WhereNode
An SQL WHERE clause.
classdjango.db.transaction.Atomic
Guarantee the atomic execution of a given block.
classdjango.db.transaction.TransactionManagementError
Transaction management is used improperly.
funcdjango.db.transaction.commit(using=None)
Commit a transaction.
funcdjango.db.transaction.rollback(using=None)
Roll back a transaction.
classdjango.forms.boundfield.BoundField
A Field plus data
classdjango.forms.boundfield.BoundWidget
A container class used for iterating over widgets.
methoddjango.forms.fields.BooleanField.to_python(value)
Return a Python boolean object.
classdjango.forms.fields.MultiValueField
Aggregate the logic of multiple Fields.
classdjango.forms.fields.NullBooleanField
A field whose valid values are None, True, and False.
classdjango.forms.forms.BaseForm
The main implementation of all the Form logic.
methoddjango.forms.forms.BaseForm.add_error(field, error)
Update the content of `self._errors`.
classdjango.forms.forms.DeclarativeFieldsMetaclass
Collect Fields declared on the base classes.
classdjango.forms.forms.Form
A collection of Fields, plus their associated data.
classdjango.forms.formsets.BaseFormSet
A collection of instances of the same Form class.
classdjango.forms.models.BaseInlineFormSet
A formset for child objects related to a parent.
classdjango.forms.models.ModelChoiceField
A ChoiceField whose choices are a model QuerySet.
classdjango.forms.models.ModelMultipleChoiceField
A MultipleChoiceField whose choices are a model QuerySet.
funcdjango.forms.utils.pretty_name(name)
Convert 'first_name' to 'First name'.
methoddjango.forms.widgets.FileInput.format_value(value)
File input never renders a value.
classdjango.forms.widgets.Input
Base class for all <input> widgets.
classdjango.forms.widgets.MediaDefiningClass
Metaclass for classes that can have media definitions.
classdjango.forms.widgets.MultiWidget
A widget that is composed of multiple widgets.
classdjango.forms.widgets.NullBooleanSelect
A Select Widget intended to be used with NullBooleanField.
classdjango.forms.widgets.SelectDateWidget
A widget that splits date input into three <select> boxes.
methoddjango.forms.widgets.Widget.build_attrs(base_attrs, extra_attrs=None)
Build an attribute dictionary.
classdjango.http.multipartparser.BoundaryIter
A Producer that is sensitive to boundaries.
classdjango.http.multipartparser.ChunkIter
An iterable that will yield chunks of data.
classdjango.http.multipartparser.InputStreamExhausted
No more reads are allowed from this device.
classdjango.http.multipartparser.InterBoundaryIter
A Producer that will iterate over boundaries.
classdjango.http.multipartparser.MultiPartParser
An RFC 7578 multipart/form-data parser.

この情報について

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

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