検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 146 for instance (0.047 sec.)
contenttypes フレームワーク — Django 4.0.6 ドキュメント 7774
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t django.contrib.contenttypes.models.ContentType . Instances of ContentType represent and store information ab ... out the models installed in your project, and new instances of ContentType are automatically created whenever ... new models are installed. Instances of ContentType have methods for returning the mod ... ods for working with ContentType and for obtaining instances of ContentType for a particular model. Relations ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 7774
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s . user_agent }} HttpRequest. resolver_match ¶ An instance of ResolverMatch representing the resolved URL. Th ... est. user ¶ From the AuthenticationMiddleware : An instance of AUTH_USER_MODEL representing the currently logg ... isn't currently logged in, user will be set to an instance of AnonymousUser . You can tell them apart with is ... ware that relies on the value of get_host() -- for instance, CommonMiddleware or CsrfViewMiddleware . HttpRequ ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 7621
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... olve_template ( template ) ¶ Resolves the template instance to use for rendering. Accepts a backend-dependent ... mes. Returns the backend-dependent template object instance to be rendered. Override this method in order to c ... le argument -- the rendered SimpleTemplateResponse instance. If the callback returns a value that is not None ... , HTTP status, and charset. request An HttpRequest instance. template A backend-dependent template object (suc ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7397
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tional image attribute containing the Pillow Image instance used to check if the file was a valid image. It wi ... REPLACE function calls. You can now refresh model instances by using Model.refresh_from_db() . You can now ge ... s a few additional methods like getvalue() so that instances can be used as stream objects. The new HttpRespon ... ueError : Cannot assign "<Author: John>": "Author" instance isn't saved in the database. If you require allowi ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Simple mixins — Django 4.0.6 ドキュメント 7244
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ws include a view variable that points to the View instance. Use alters_data where appropriate Note that havin ... g the view instance in the template context may expose potentially haz ... nse . The template and context of TemplateResponse instances can be altered later (e.g. in template response m ... response_kwargs ) ¶ Returns a self.response_class instance. If any keyword arguments are provided, they will ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
Generic editing ビュー — Django 4.0.6 ドキュメント 7161
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... CreateView ¶ A base view for creating a new object instance. It is not intended to be used directly, but rathe ... t , * args , ** kwargs ) ¶ Sets the current object instance ( self.object ) to None . post ( request , * args ... , ** kwargs ) ¶ Sets the current object instance ( self.object ) to None . UpdateView ¶ class djang ... View ¶ A base view for updating an existing object instance. It is not intended to be used directly, but rathe ...
https://man.plustar.jp/django/ref/class-based-views/generic-editing.html - [similar]
Form fields — Django 4.0.6 ドキュメント 7091
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to get a better idea of how they work. Each Field instance has a clean() method, which takes a single argumen ... tional image attribute containing the Pillow Image instance used to check if the file was a valid image. Pillo ... subclass ModelChoiceField and override label_from_instance . This method will receive a model object and shou ... elChoiceField ( ModelChoiceField ): def label_from_instance ( self , obj ): return "My Object # %i " % obj . i ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 6937
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Each non-abstract Model class must have a Manager instance added to it. Django ensures that in your model cla ... dd an attribute objects containing default Manager instance. If you add your own Manager instance attribute, t ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 6867
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... models . FileField ( upload_to = 'specs' ) Any Car instance will have a photo attribute that you can use to ge ... as height , width , and size are available on the instance, the underlying image data cannot be used without ... ¶ Internally, Django uses a django.core.files.File instance any time it needs to represent a file. Most of the ... e file storage systems directly. You can create an instance of some custom file storage class, or -- often mor ...
https://man.plustar.jp/django/topics/files.html - [similar]
URL ディスパッチャ — Django 4.0.6 ドキュメント 6867
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 194d3-6885-417e-a8a8-6c931e272f00 . Returns a UUID instance. path - Matches any non-empty string, including th ... additional URL patterns by using a list of path() instances. For example, consider this URLconf: from django. ... l code related to handling of URLs of Django model instances: The get_absolute_url() method. 例 ¶ Consider aga ... ite class which allows you to deploy more than one instance of the admin . In a later example, we'll discuss t ...
https://man.plustar.jp/django/topics/http/urls.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT