検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 172 for create (0.025 sec.)
PostgreSQL specific model fields — Django 4.0.6 ドキュメント 11994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... exing these fields ¶ Index and Field.db_index both create a B-tree index, which isn't particularly helpful w ... (such as a function). Incorrectly using default=[] creates a mutable default that is shared between all inst ... QL operator @> . For example: >>> Post . objects . create ( name = 'First post' , tags = [ 'thoughts' , 'dja ... ngo' ]) >>> Post . objects . create ( name = 'Second post' , tags = [ 'thoughts' ]) >> ...
https://man.plustar.jp/django/ref/contrib/postgres/fields.html - [similar]
Database Functions — Django 4.0.6 ドキュメント 11882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... odels.functions import Cast >>> Author . objects . create ( age = 25 , name = 'Margaret Smith' ) >>> author ... s.functions import Coalesce >>> Author . objects . create ( name = 'Margaret Smith' , goes_by = 'Maggie' ) > ... ctions import Greatest >>> blog = Blog . objects . create ( body = 'Greatest is the best.' ) >>> comment = C ... omment . objects . create ( body = 'No, Least is better.' , blog = blog ) >> ...
https://man.plustar.jp/django/ref/models/database-functions.html - [similar]
データベース — Django 4.0.6 ドキュメント 9353
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ons to this database small. The development server creates a new thread for each request it handles, negatin ... ur model fields, Django typically outputs a single CREATE INDEX statement. However, if the database type for ... ld , FileField , and TextField ), then Django will create an additional index that uses an appropriate Postg ... store , postgis , etc.) using a migration, use the CreateExtension operation. Server-side cursors ¶ When usi ...
https://man.plustar.jp/django/ref/databases.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 8656
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... only want to pickle the necessary information to recreate the QuerySet from the database at a later time, pi ... e query attribute of the QuerySet . You can then recreate the original QuerySet (without any results loaded) ... e. Restrictions on QuerySet.values_list() If you recreate QuerySet.values_list() using the pickled query att ... en in the same place (for example, QuerySet method creates expressions, for later use in views). alias() all ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
「How-to」ガイド — Django 4.0.6 ドキュメント 8543
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... です。 How to authenticate using REMOTE_USER How to create custom django-admin commands How to create custom ... How to implement a custom template backend How to create custom template tags and filters How to write a cu ... y database How to configure and use logging How to create CSV output How to create PDF files How to override ... iles Windows での Django のインストール方法 How to create database migrations 参考 The Django community aggr ...
https://man.plustar.jp/django/howto/index.html - [similar]
GeoDjango Tutorial — Django 4.0.6 ドキュメント 8543
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Django strives to make it as simple as possible to create geographic web applications, like location-based s ... tially for step-by-step instructions. Setting Up ¶ Create a Spatial Database ¶ Typically no special setup is ... required, so you can create a database as you would for any other project. We ... atabases: Installing PostGIS Installing SpatiaLite Create a New Project ¶ Use the standard django-admin scri ...
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html - [similar]
How to create PDF files — Django 4.0.6 ドキュメント 8318
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Index | Modules « previous | up | next » How to create PDF files ¶ This document explains how to output P ... f generating PDF files dynamically is that you can create customized PDFs for different purposes -- say, for ... .pdfgen import canvas def some_view ( request ): # Create a file-like buffer to receive PDF data. buffer = i ... o . BytesIO () # Create the PDF object, using the buffer as its "file." p ...
https://man.plustar.jp/django/howto/outputting-pdf.html - [similar]
Installing PostGIS — Django 4.0.6 ドキュメント 8318
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... SQL that's used to enable spatial functionality: $ createdb <db name> $ psql <db name> > CREATE EXTENSION po ... database user must be a superuser in order to run CREATE EXTENSION postgis; . The command is run during the ... ct: from django.contrib.postgres.operations import CreateExtension from django.db import migrations class Mi ... gration ( migrations . Migration ): operations = [ CreateExtension ( 'postgis' ), ... ] If you plan to use P ...
https://man.plustar.jp/django/ref/contrib/gis/install/postgis.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 7970
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 。 オブジェクトの作成と保存を一つの処理で行うには、 create() メソッドを利用してください。 オブジェクトに対する ... .models import Author >>> joe = Author . objects . create ( name = "Joe" ) >>> entry . authors . add ( joe ) ... の例のように含めます: >>> john = Author . objects . create ( name = "John" ) >>> paul = Author . objects . cr ... ( name = "Paul" ) >>> george = Author . objects . create ( name = "George" ) >>> ringo = Author . objects . ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
Testing GeoDjango apps — Django 4.0.6 ドキュメント 7790
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... PostgreSQL. If your spatial database template was created like in the instructions, then your testing datab ... ase user only needs to have the ability to create databases. In other configurations, you may be req ... uired to use a database superuser. Create database user ¶ To make a database user with the a ... bility to create databases, use the following command: $ createuser ...
https://man.plustar.jp/django/ref/contrib/gis/testing.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT