検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 17 for ContentType (0.011 sec.)
contenttypes フレームワーク — Django 4.0.6 ドキュメント 15432
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ontents | Index | Modules « previous | up | next » contenttypes フレームワーク ¶ Django includes a contenttypes a ... your models. オーバービュー ¶ At the heart of the contenttypes application is the ContentType model, which lives ... at django.contrib.contenttypes.models.ContentType . Instances of ContentType rep ... ls installed in your project, and new instances of ContentType are automatically created whenever new models are ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Django 1.10.1 release notes — Django 4.0.6 ドキュメント 8638
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ions and migrate ( #27089 ). Fixed the creation of ContentType and Permission objects for models of applications ... vided to the pre_migrate signal receivers to allow ContentType renaming to be performed on model rename ( #27100 ...
https://man.plustar.jp/django/releases/1.10.1.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 8638
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... router that knows to send queries for the auth and contenttypes apps to auth_db ( auth models are linked to Conte ... all database operations on models in the auth and contenttypes applications. """ route_app_labels = { 'auth' , ' ... model , ** hints ): """ Attempts to read auth and contenttypes models go to auth_db. """ if model . _meta . app_ ... model , ** hints ): """ Attempts to write auth and contenttypes models go to auth_db. """ if model . _meta . app_ ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 8535
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... " model="auth.permission"> <!-- ... --> <field to="contenttypes.contenttype" name="content_type" rel="ManyToOneRe ... ion object with the PK 27 has a foreign key to the contenttypes.ContentType instance with the PK 9. ManyToMany-re ... ist of objects that have a foreign key referencing ContentType . If you're going to serialize an object that refe ... rs to a content type, then you need to have a way to refer to that con ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 8483
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .auth.models import Permission from django.contrib.contenttypes.models import ContentType content_type = ContentT ... p に割り当てられます。 Proxy models need their own content type If you want to create permissions for a proxy mod ... el , pass for_concrete_model=False to ContentTypeManager.get_for_model() to get the appropriate Cont ... entType : content_type = ContentType . objects . get_for_model ( BlogPostProxy , for_co ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 8431
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ts to your custom export view: from django.contrib.contenttypes.models import ContentType from django.http import ... queryset . values_list ( 'pk' , flat = True ) ct = ContentType . objects . get_for_model ( queryset . model ) ret ... h objects of any type, hence the business with the ContentType . Writing this view is left as an exercise to the ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 8276
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g to avoid parsing the tag's content. Retrieval of ContentType instances associated with proxy models ¶ The metho ... ds ContentTypeManager.get_for_model() and ContentTypeManager.get_ ... g this argument it is now possible to retrieve the ContentType associated with proxy models. New view variable in ... b now queries the database routers to determine if content types (when contenttypes is enabled) and permissions ( ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
索引 — Django 4.0.6 ドキュメント 8224
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ション migrate コマンドラインオプション remove_stale_contenttypes コマンドラインオプション showmigrations コマンドラ ... ドラインオプション --include-stale-apps remove_stale_contenttypes コマンドラインオプション --include-views inspectd ... ) app_index_template (AdminSite の属性) app_label (ContentType の属性) (Options の属性) app_name (ResolverMatch の ... のクラス) BaseGenericInlineFormSet (django.contrib.contenttypes.forms のクラス) BaseGeometryWidget (django.contri ...
https://man.plustar.jp/django/genindex.html - [similar]
Django 3.0.3 リリースノート — Django 4.0.6 ドキュメント 8224
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のリグレッションを修正しました ( #31124 )。 カスタム ContentType 外部キーを持つ GenericForeignKey に対する``QuerySe ...
https://man.plustar.jp/django/releases/3.0.3.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8017
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... update UploadedFile.content_type with the image's content type as determined by Pillow. You can now pass a calla ... ZipMiddleware used to disable compression for some content types when the request is from Internet Explorer, in o ... d msgid message). The name field of django.contrib.contenttypes.models.ContentType has been removed by a migratio ... That means it's not possible to query or filter a ContentType by this field any longer. Be careful if you upgrad ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PREV 1 2 NEXT