Results of 41 - 50 of about 172 for create (0.064 sec.)
- How to create custom model fields — Django 4.0.6 ドキュメント 5778
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » How to create custom model fields ¶ はじめに ¶ model reference ` ...
ように、フィールドが自動的に作成された場合は、 auto_created は True です。 高度な使用向けです。 上記のリストに ...
てください。 カスタムデータベースタイプ ¶ Say you've created a PostgreSQL custom type called mytype . You can ...
called by Django when the framework constructs the CREATE TABLE statements for your application -- that is, ...
-
https://man.plustar.jp/django/howto/custom-model-fields.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 5778
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tion ¶ When configuring logging, it makes sense to Create a LOGGING dictionary ¶ In your settings.py : LOGGI ...
p : logger = logging . getLogger ( __name__ ) will create a logger in the my_app.views namespace. __name__ a ...
logging configuration Basic logging configuration Create a LOGGING dictionary Configure a handler Configure ...
jango with a legacy database 次のトピックへ How to create CSV output 関連キーワード logging , logger , confi ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- Django 1.7.10 release notes — Django 4.0.6 ドキュメント 5778
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ing session store ¶ Previously, a session could be created when anonymously accessing the django.contrib.aut ...
the admin). This could allow an attacker to easily create many new session records by sending repeated reque ...
e SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE ...
-
https://man.plustar.jp/django/releases/1.7.10.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
exceptions while reading field values. Once you've created your DataSource , you can find out how many layer ...
a layer of data in a DataSource object. You never create a Layer object directly. Instead, you retrieve the ...
layer . fields ['Name', 'Population', 'Density', 'Created'] Returns a list of the data types of each of the ...
lFilter' , 'FastFeatureCount' , 'FastGetExtent' , 'CreateField' , 'Transactions' , 'DeleteFeature' , and 'Fa ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ting framework for creating RSS and Atom feeds. To create any syndication feed, all you have to do is write ...
a short Python class. You can create as many feeds as you want. Django also comes with ...
rating framework is supplied by the Feed class. To create a feed, write a Feed class and point to an instanc ...
for every police beat in a city. It'd be silly to create a separate Feed class for each police beat; that w ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
computation that can be used as part of an update, create, filter, order by, annotation, or aggregate. When ...
y . num_chairs 50 >>> company . chairs_needed 70 # Create a new company using expressions. >>> company = Com ...
pany . objects . create ( name = 'Google' , ticker = Upper ( Value ( 'goog ...
() , it overrides the standard Python operators to create an encapsulated SQL expression; in this case, one ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
models を使用します。 オブジェクトを作成する ¶ To create a new instance of a model, instantiate it like any ...
. CharField ( max_length = 100 ) @classmethod def create ( cls , title ): book = cls ( title = title ) # do ...
something with the book return book book = Book . create ( "Pride and Prejudice" ) 独自のマネジャーにメソッ ...
法です): class BookManager ( models . Manager ): def create_book ( self , title ): book = self . create ( titl ...
-
https://man.plustar.jp/django/ref/models/instances.html
- [similar]
- Model Meta options — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hem. For example, if you have an app bookstore (as created by manage.py startapp bookstore ), a model define ...
. managed ¶ Defaults to True , meaning Django will create the appropriate database tables in migrate or as p ...
an existing table or a database view that has been created by some other means. This is the only difference ...
e table for the many-to-many join will also not be created. However, the intermediary table between one mana ...
-
https://man.plustar.jp/django/ref/models/options.html
- [similar]
- Django 1.4.22 release notes — Django 4.0.6 ドキュメント 5722
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ing session store ¶ Previously, a session could be created when anonymously accessing the django.contrib.aut ...
the admin). This could allow an attacker to easily create many new session records by sending repeated reque ...
e SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE ...
-
https://man.plustar.jp/django/releases/1.4.22.html
- [similar]
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 5665
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » How to create custom template tags and filters ¶ Django のテンプ ...
st of choices for a given Poll object, such as was created in the tutorials . We'll use the tag like this: { ...
_set . all () return { 'choices' : choices } Next, create the template used to render the tag's output. This ...
i > {{ choice }} </ li > {% endfor %} </ ul > Now, create and register the inclusion tag by calling the incl ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]