Results of 61 - 70 of about 172 for create (0.030 sec.)
- Django 1.7 release notes — Django 4.0.6 ドキュメント 5553
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nt to load initial data for an app, we suggest you create a migration for your application and define a RunP ...
ommended way to make reusable model queries was to create methods on a custom Manager class. The problem wit ...
uerySet.as_manager() class method can now directly create Manager with QuerySet methods : class FoodQuerySet ...
s.55e7cbb9ba48.css ). The staticfiles.json file is created when running the collectstatic management command ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- Django 3.0 リリースノート — Django 4.0.6 ドキュメント 5553
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
better interaction with browser password managers. createsuperuser now falls back to environment variables f ...
or a specific primary key value, use the update_or_create() method or QuerySet.filter(pk=…).update(…) instea ...
d. For example: >>> MyModel . objects . update_or_create ( pk = existing_pk , defaults = { 'name' : 'new na ...
) may no longer return tuples. If the database can create foreign keys in the same SQL statement that adds a ...
-
https://man.plustar.jp/django/releases/3.0.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ンドラインオプション check コマンドラインオプション createcachetable コマンドラインオプション createsuperuser ...
ン --dry-run collectstatic コマンドラインオプション createcachetable コマンドラインオプション makemigrations ...
コマンドラインオプション --email createsuperuser コマンドラインオプション --empty makemigr ...
--no-input collectstatic コマンドラインオプション createsuperuser コマンドラインオプション flush コマンドラ ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
and new instances of ContentType are automatically created whenever new models are installed. Instances of C ...
ork is included in the default INSTALLED_APPS list created by django-admin startproject , but if you've remo ...
long with it a new instance of ContentType will be created with the following values: app_label will be set ...
ntentType to keep track of models for which it has created ContentType instances. You probably won't ever ne ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
user . email ]) # ... In this case, you'd have to create subject.txt and message.txt template files for bot ...
ites registers a post_migrate signal handler which creates a default site named example.com with the domain ...
example.com . This site will also be created after Django creates the test database. To set th ...
rder to serve different sites in production, you'd create a separate settings file with each SITE_ID (perhap ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- The Django Template Language — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lter reference for the complete list. You can also create your own custom template filters; see How to creat ...
ag %} . Tags are more complex than variables: Some create text in the output, some control flow by performin ...
tag reference for the complete list. You can also create your own custom template tags; see How to create c ...
プレートライブラリを作成する方法については、 How to create custom template tags and filters を参照してください ...
-
https://man.plustar.jp/django/ref/templates/language.html
- [similar]
- Django 1.3.6 release notes — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n security team . Django's XML serializer does not create documents with a DTD, so this should not cause any ...
haust a server's available memory by forcing it to create very large numbers of forms. In Django 1.3.6, all ...
-
https://man.plustar.jp/django/releases/1.3.6.html
- [similar]
- 複数のデータベース — Django 4.0.6 ドキュメント 5497
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a model on a given database. makemigrations always creates migrations for model changes, but if allow_migrat ...
>>> # A new object has no database allocation when created >>> mh = Book ( title = 'Mostly Harmless' ) >>> # ...
ey, so Django issues an SQL INSERT statement. This creates a primary key, and Django assigns that primary ke ...
r method that touches the database -- User.objects.create_user() . Because create_user() is a manager method ...
-
https://man.plustar.jp/django/topics/db/multi-db.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 5441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
: sender The model class that just had an instance created. args A list of positional arguments passed to __ ...
s above: the model class that just had an instance created. instance The actual instance of the model that's ...
just been created. 注釈 instance._state isn't set before sending th ...
l class. instance The actual instance being saved. created ブール値。レコードが作成された場合に True を返す。 ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]
- Django 1.4.4 release notes — Django 4.0.6 ドキュメント 5441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n security team . Django's XML serializer does not create documents with a DTD, so this should not cause any ...
haust a server's available memory by forcing it to create very large numbers of forms. In Django 1.4.4, all ...
-
https://man.plustar.jp/django/releases/1.4.4.html
- [similar]