Results of 31 - 40 of about 92 for meta (0.060 sec.)
- Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 6619
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
対してカスタムパーミッションを作成したい場合は model Meta attribute の``permissions`` を使用してください。 こ ...
定します。 class Task ( models . Model ): ... class Meta : permissions = [ ( "change_task_status" , "Can ch ...
CustomUserCreationForm ( UserCreationForm ): class Meta ( UserCreationForm . Meta ): model = CustomUser fi ...
elds = UserCreationForm . Meta . fields + ( 'custom_field' ,) カスタムのユーザーと ...
-
https://man.plustar.jp/django/topics/auth/customizing.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 6619
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
bjects . count () if count == 1 : name = Report . _meta . verbose_name else : name = Report . _meta . verb ...
count , ) % { 'count' : count , 'name' : Report . _meta . verbose_name , } 注釈 When using ngettext() , ma ...
: Report . objects . count (), 'name' : Report . _meta . verbose_name , 'plural_name' : Report . _meta . ...
, help_text = _ ( 'This is the help text' )) class Meta : verbose_name = _ ( 'my thing' ) verbose_name_plu ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 6527
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
check the new table name with the through model's _meta.db_table property. Your new through model should u ...
with sqlmigrate, new table # name from AuthorBook._meta.db_table. migrations . RunSQL ( sql = 'ALTER TABLE ...
he migration that contains the operation to change Meta.managed may not be applied. 目次 How to create dat ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]
- Django 1.7.2 release notes — Django 4.0.6 ドキュメント 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
of auto-created many-to-many tables when changing Meta.db_table ( #23630 ). Fixed a migration crash when ...
to Monday. Added support for transactional spatial metadata initialization on SpatiaLite 4.1+ ( #23152 ). ...
leteModel and CreateModel operations when changing Meta.managed . This prevents data loss when changing ma ...
-
https://man.plustar.jp/django/releases/1.7.2.html
- [similar]
- Django 2.2.5 リリースノート — Django 4.0.6 ドキュメント 6354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
choices to foreign objects don't respect a model's Meta.ordering ( #30449 ). 目次 Django 2.2.5 リリースノー ...
-
https://man.plustar.jp/django/releases/2.2.5.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 6354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
プログラムによる権限作成 ¶ カスタム権限 はモデルの Meta クラス内に定義され、直接作成する事も可能です。例え ...
y subclass: class Person ( models . Model ): class Meta : permissions = [( 'can_eat_pizzas' , 'Can eat piz ...
zas' )] class Student ( Person ): class Meta : proxy = True permissions = [( 'can_deliver_pizza ...
nstalled, this will be set to the value of request.META['SERVER_NAME'] . For more on sites, see The "sites ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 6274
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
del ): return self . allow_migrate ( db , model . _meta . app_label , model_name = model . _meta . model_n ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- Django 1.11 リリースノート — Django 4.0.6 ドキュメント 6274
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
作成を簡単にするクラスを含んでいます。インデックスは Meta.indexes オプションを使ってモデルに追加されます。 T ...
on the model field or index_together on the model Meta class. It can be subclassed to support different i ...
終了するときに ETags をセットしなくなります。 Model._meta.auto_field が None かどうか をチェックする方法が採 ...
用されたので、 Model._meta.has_auto_field は非推奨となりました。 url() 内で i ...
-
https://man.plustar.jp/django/releases/1.11.html
- [similar]
- Django 3.2.2 release notes — Django 4.0.6 ドキュメント 6274
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
om generating infinite migrations for a model with Meta.ordering contained OrderBy expressions ( #32714 ). ...
-
https://man.plustar.jp/django/releases/3.2.2.html
- [similar]
- 多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 6274
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tle = models . CharField ( max_length = 30 ) class Meta : ordering = [ 'title' ] def __str__ ( self ): ret ...
s = models . ManyToManyField ( Publication ) class Meta : ordering = [ 'headline' ] def __str__ ( self ): ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_many.html
- [similar]