検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 195 for Object (0.073 sec.)
Model クラスのリファレンス — Django 4.0.6 ドキュメント 5848
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is exception is raised by the ORM when an expected object is not found. For example, QuerySet.get() will rai ... se it when no object is found for the given lookups. Django provides a ... ibute of each model class to identify the class of object that could not be found, allowing you to catch exc ... exception is a subclass of django.core.exceptions.ObjectDoesNotExist . MultipleObjectsReturned ¶ exception ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 5848
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the details of the attached photo: >>> car = Car . objects . get ( name = "57 Chevy" ) >>> car . photo <Imag ... url 'http://media.example.com/cars/chevy.jpg' This object -- car.photo in the example -- is a File object, w ... ath ( '/some/external/specs.pdf' ) >>> car = Car . objects . get ( name = '57 Chevy' ) >>> with path . open ... example: >>> from PIL import Image >>> car = Car . objects . get ( name = '57 Chevy' ) >>> car . photo . wid ...
https://man.plustar.jp/django/topics/files.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 5773
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _id ( None ) # A marker for caching NO_RECEIVERS = object () [ドキュメント] class Signal : """ Base class fo ... is to receive signals. Receivers must be hashable objects. If weak is True, then receiver must be weak refe ... e receiver should respond. Must either be a Python object, or None to receive events from any sender. weak W ... ill attempt to use weak references to the receiver objects. If this parameter is false, then strong referenc ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
Form fields — Django 4.0.6 ドキュメント 5740
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t to convert a string to a valid datetime.datetime object, in addition to ISO 8601 formats. The field always ... d has been cleaned and validated, the UploadedFile object will have an additional image attribute containing ... e . getdata () # Raises AttributeError: 'NoneType' object has no attribute 'seek'. >>> image = Image . open ... image_field ) >>> image . getdata () <ImagingCore object at 0x7f5984f874b0> Additionally, UploadedFile.cont ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 5740
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... includes functions to patch the header of response objects directly and decorators that change functions to ... Adds some useful headers to the given HttpResponse object: Expires Cache-Control Each header is only added i ... updates) the Vary header in the given HttpResponse object. newheaders is a list of header names that should ... to account for some request path from the response object. It stores those headers in a global path registry ...
https://man.plustar.jp/django/ref/utils.html - [similar]
django.core.signing — Django 4.0.6 ドキュメント 5632
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ns for creating and restoring url-safe signed JSON objects. The format used looks like this: >>> signing.dum ... component is a URLsafe base64 encoded JSON of the object passed to dumps(). The second component is a base6 ... checks the signature and returns the deserialized object. If the signature fails, a BadSignature exception ... eturn TimestampSigner ( key , salt = salt ) . sign_object ( obj , serializer = serializer , compress = compr ...
https://man.plustar.jp/django/_modules/django/core/signing.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 5632
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... normal string operations that will turn a SafeData object back into a normal str object and, rather than try ... ou write a custom filter that operates on datetime objects, you'll usually register it with the expects_loca ... same, but the link targets change depending on the object being edited -- so they're a perfect case for usin ... plate that is filled with details from the current object. (In the admin's case, this is the submit_row tag. ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 5632
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... red with a request. These callables take a request object as their argument and return a dict of items to be ... les the given template code and returns a Template object. Engine. get_template ( template_name ) ¶ Loads a ... the given name, compiles it and returns a Template object. Engine. select_template ( template_name_list ) ¶ ... template code once -- when you create the Template object. From then on, it's stored internally as a tree st ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 5556
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... input from the client. Parameters: :input_data: An object that supports reading via .read(). :META: ``reques ... Subclasses should return a valid ``UploadedFile`` object. """ raise NotImplementedError ( "subclasses of Fi ... ( self , * args , ** kwargs ): """ Create the file object to append to as data is coming in. """ super () . ... le_complete ( self , file_size ): """Return a file object if this handler is activated.""" if not self . act ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
django.urls utility functions — Django 4.0.6 ドキュメント 5556
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ame can be a URL pattern name or the callable view object. For example, given the following url : from news ... RL reverse ( 'news-archive' ) # passing a callable object # (This is discouraged because you can't reverse n ... nf parameter. The function returns a ResolverMatch object that allows you to access various metadata about t ... ing the namespace if there is one. A ResolverMatch object can then be interrogated to provide information ab ...
https://man.plustar.jp/django/ref/urlresolvers.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT