検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 195 for Object (0.091 sec.)
How to create CSV output — Django 4.0.6 ドキュメント 5199
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... f some_view ( request ): # Create the HttpResponse object with the appropriate CSV header. response = HttpRe ... iter . The csv.writer function expects a file-like object, and HttpResponse objects fit the bill. For each r ... tp import StreamingHttpResponse class Echo : """An object that implements just the write method of the file- ... f some_view ( request ): # Create the HttpResponse object with the appropriate CSV header. response = HttpRe ...
https://man.plustar.jp/django/howto/outputting-csv.html - [similar]
How to create PDF files — Django 4.0.6 ドキュメント 5199
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Django is that the ReportLab API acts on file-like objects, and Django's FileResponse objects accept file-li ... ke objects. Here's a "Hello World" example: import io from d ... DF data. buffer = io . BytesIO () # Create the PDF object, using the buffer as its "file." p = canvas . Canv ... ing ( 100 , 100 , "Hello world." ) # Close the PDF object cleanly, and we're done. p . showPage () p . save ...
https://man.plustar.jp/django/howto/outputting-pdf.html - [similar]
Django 1.1 リリースノート — Django 4.0.6 ドキュメント 5199
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xample: ALTER TABLE myapp_sometable ADD CONSTRAINT object_id_refs_id_5e8f10c132091d1e FOREIGN KEY ... Follow ... xample: ALTER TABLE myapp_sometable ADD CONSTRAINT object_id_refs_id_32091d1e FOREIGN KEY ... As a result of ... Two major enhancements have been added to Django's object-relational mapper (ORM): aggregate support, and qu ... ts of the aggregate directly, or else annotate the objects in a QuerySet with the results of the aggregate q ...
https://man.plustar.jp/django/releases/1.1.html - [similar]
django.core.mail.message — Django 4.0.6 ドキュメント 5166
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xt/* mimetype (guessed or specified), when a bytes object is specified as content, decode it as UTF-8. If th ... the content, mimetype pair into a MIME attachment object. If the mimetype is message/rfc822, content may be ... an email.Message or EmailMessage object, as well as a str. """ basetype , subtype = mimety ... ng code, parse the message # into an email.Message object if it is not one already. content = message_from_s ...
https://man.plustar.jp/django/_modules/django/core/mail/message.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 5166
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... model API documentation. Use Paginator instead of ObjectPaginator ¶ The ObjectPaginator in 0.96 has been re ... onnect, and send signals via methods on the Signal object instead of through module methods in django.dispat ... ces of django.dispatch.Signal instead of anonymous objects. Here's quick summary of the code changes you'll ... lback(sender) def callback(sender, **kwargs) sig = object() sig = django.dispatch.Signal() dispatcher.connec ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django 1.6.2 release notes — Django 4.0.6 ドキュメント 5166
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... several bugs in 1.6.1: Prevented the base geometry object of a prepared geometry to be garbage collected, wh ... executing the changepassword command when the user object representation contained non-ASCII characters ( #2 ... float fields ( #19884 ). Fixed an issue where lazy objects weren't actually marked as safe when passed throu ...
https://man.plustar.jp/django/releases/1.6.2.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 5166
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... low users who have the "change" permission to edit objects. There are a couple of backwards incompatible con ... izing the deletion process of the "delete selected objects" action. You can now override the default admin s ... a query expression. The new ModelAdmin.get_deleted_objects() method allows customizing the deletion process ... n globally). The admin change list and change form object tools can now be overridden per app, per model, or ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 5166
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lifting of actually splitting a QuerySet into Page objects. カスタマイズ例 ¶ Give Paginator a list of object ... >> from django.core.paginator import Paginator >>> objects = [ 'john' , 'paul' , 'george' , 'ringo' ] >>> p ... = Paginator ( objects , 2 ) >>> p . count 4 >>> p . num_pages 2 >>> typ ... p . page ( 1 ) >>> page1 <Page 1 of 2> >>> page1 . object_list ['john', 'paul'] >>> page2 = p . page ( 2 ) > ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
索引 — Django 4.0.6 ドキュメント 5123
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... istView の属性) (django.views.generic.list.MultipleObjectMixin の属性) allow_empty_first_page (Paginator の属 ... min のメソッド) changed_data (Form の属性) changed_objects (models.BaseModelFormSet の属性) changefreq (Site ... ntext_data (SimpleTemplateResponse の属性) context_object_name (django.views.generic.detail.SingleObjectMixi ... n の属性) (django.views.generic.list.MultipleObjectMixin の属性) ContextPopException convert_value() ( ...
https://man.plustar.jp/django/genindex.html - [similar]
GeoDjango Tutorial — Django 4.0.6 ドキュメント 5123
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... WORLD_BORDERS-0.3.shp (ESRI Shapefile) Data source objects can have different layers of geospatial features; ... , the srs attribute will return a SpatialReference object: >>> srs = lyr . srs >>> print ( srs ) GEOGCS["WGS ... eorgia South Sandwich Islands 338 Taiwan 363 Layer objects may be sliced: >>> lyr [ 0 : 2 ] [<django.contrib ... .gis.gdal.feature.Feature object at 0x2f47690>, <django.contrib.gis.gdal.feature.Fe ...
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html - [similar]