Results of 31 - 40 of about 172 for create (0.014 sec.)
- Django 1.8.4 リリースノート — Django 4.0.6 ドキュメント 6239
- " + 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 ...
, records , up , Fixed , store , new , Prevented , create クイック検索 Last update: 2022年6月01日 « previous ...
-
https://man.plustar.jp/django/releases/1.8.4.html
- [similar]
- モデル — Django 4.0.6 ドキュメント 6239
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ルは以下のようなデータベースのテーブルを作成します: CREATE TABLE myapp_person ( "id" serial NOT NULL PRIMARY ...
マリーキーフィールド を参照ください。 この例における CREATE TABLE の SQL は PostgreSQL の文法に準拠していますが ...
い場合は独自のフィールドを簡単に記述できます; How to create custom model fields を参照してください。 フィールド ...
primary_key = True ) >>> fruit = Fruit . objects . create ( name = 'Apple' ) >>> fruit . name = 'Pear' >>> f ...
-
https://man.plustar.jp/django/topics/db/models.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 6070
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » How to create database migrations ¶ このドキュメントでは、遭遇す ...
), ] Change unique=True to null=True -- this will create the intermediary null field and defer creating the ...
ere is a race condition if you allow objects to be created while this migration is running. Objects created ...
'new_app' , 'NewModel' ) NewModel . objects . bulk_create ( NewModel ( new_attribute = old_object . old_attr ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- django.contrib.auth — Django 4.0.6 ドキュメント 6070
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
パーメソッドを有する独自のマネージャを持っています: create_user ( username , email = None , password = None , ...
user model . See Creating users for example usage. create_superuser ( username , email = None , password = N ...
one , ** extra_fields ) ¶ create_user() と同じですが、 is_staff と is_superuser を ...
R documentation. If you need more control, you can create your own authentication backend that inherits from ...
-
https://man.plustar.jp/django/ref/contrib/auth.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 5958
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
atabase Functions ¶ Query Expressions allow you to create, customize, and compose complex SQL expressions. T ...
he database version is 3.0 or later. The PostGIS 2 CREATE EXTENSION postgis and the SpatiaLite SELECT InitSp ...
e SITE_ID setting is not defined. The default Site created when running migrate now respects the SITE_ID set ...
ion greater than 0). New datetime database columns created with Django 1.8 and MySQL 5.6.4 and up will suppo ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- Django 1.11 リリースノート — Django 4.0.6 ドキュメント 5901
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ションを使ってモデルに追加されます。 The Index class creates a b-tree index, as if you used db_index on the mo ...
サポートを追加しました。 モデル ¶ QuerySet.update_or_create() と get_or_create() の defaults 属性で呼び出し可能 ...
e keyword argument is added to the DatabaseWrapper.create_cursor(self, name=None) method to allow usage of s ...
リダイレクトからユーザを保護します。 QuerySet.get_or_create() と update_or_create() の引数の検証 ¶ 警告なしに引 ...
-
https://man.plustar.jp/django/releases/1.11.html
- [similar]
- 高度なチュートリアル: 再利用可能アプリの書き方 — Django 4.0.6 ドキュメント 5834
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ls.urls')), 3. Run ``python manage.py migrate`` to create the polls models. 4. Start the development server ...
and visit http://127.0.0.1:8000/admin/ to create a poll (you'll need the Admin app enabled). 5. Vis ...
使え得るかに影響すると注意してください。 Next we'll create pyproject.toml , setup.cfg , and setup.py files wh ...
e setuptools documentation has a good explanation. Create the django-polls/pyproject.toml , django-polls/set ...
-
https://man.plustar.jp/django/intro/reusable-apps.html
- [similar]
- ファイルの管理 — Django 4.0.6 ドキュメント 5834
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
o construct a File yourself, the easiest way is to create one using a Python built-in file object: >>> from ...
django.core.files import File # Create a Python file object using open() >>> f = open ( ' ...
and methods of the File class. Be aware that files created in this way are not automatically closed. The fol ...
atically: >>> from django.core.files import File # Create a Python file object using open() and the with sta ...
-
https://man.plustar.jp/django/topics/files.html
- [similar]
- モデルからフォームを作成する — Django 4.0.6 ドキュメント 5834
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t ModelForm >>> from myapp.models import Article # Create the form class. >>> class ArticleForm ( ModelForm ...
ry ModelForm also has a save() method. This method creates and saves a database object from the data bound t ...
e that instance. If it's not supplied, save() will create a new instance of the specified model: >>> from my ...
Article >>> from myapp.forms import ArticleForm # Create a form instance from POST data. >>> f = ArticleFor ...
-
https://man.plustar.jp/django/topics/forms/modelforms.html
- [similar]
- マイグレーション — Django 4.0.6 ドキュメント 5834
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
size. For this reason, it's recommended you always create new columns with null=True , as this way they will ...
ザインされているからです。 ワークフロー ¶ Django can create migrations for you. Make changes to your models - ...
ships implied by your models are too complex to be created for one app at a time. When you make a migration ...
e migrations, the authors migration runs first and creates the table the ForeignKey references, and then the ...
-
https://man.plustar.jp/django/topics/migrations.html
- [similar]