per page, with , order by , clip by
Results of 1 - 10 of about 221 for apps (0.005 sec.)
アプリケーション — Django 6.1 ドキュメント 12749
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アプリケーション ¶ Django には、設定の保存と調査の手段を提供するインストール済みアプリケーションのレジストリがあり、利用可能な モデル のリストもアク ... セスできます。 このレジストリは apps と呼ばれ、 django.apps で利用できます: >>> from django.apps import apps >>> apps . get_app_config ( "admin" ) . verbose_na ... ンには、モデル、ビュー、テンプレート、テンプレートタグ、静的ファイル、ミドルウェアなどが含まれます。これらは一般に INSTALLED_APPS 設定で有効になり、それ以外では URLconf、 MIDDLEWARE 設定、テンプレート継承などの仕組みから使われます。 Django のアプリケー ... 。 プロジェクトパッケージがアプリケーションとみなされず、モデルなどを持てないといった制限はありません (その場合は INSTALLED_APPS に設定を追加する必要があります。)。 アプリケーションを設定する ¶ アプリケーションを設定するためには、アプリケーション内に ...
https://man.mtool.work/django/6.1/ref/applications.html
アプリケーション — Django 6.1 ドキュメント 12749
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アプリケーション ¶ Django には、設定の保存と調査の手段を提供するインストール済みアプリケーションのレジストリがあり、利用可能な モデル のリストもアク ... セスできます。 このレジストリは apps と呼ばれ、 django.apps で利用できます: >>> from django.apps import apps >>> apps . get_app_config ( "admin" ) . verbose_na ... ンには、モデル、ビュー、テンプレート、テンプレートタグ、静的ファイル、ミドルウェアなどが含まれます。これらは一般に INSTALLED_APPS 設定で有効になり、それ以外では URLconf、 MIDDLEWARE 設定、テンプレート継承などの仕組みから使われます。 Django のアプリケー ... 。 プロジェクトパッケージがアプリケーションとみなされず、モデルなどを持てないといった制限はありません (その場合は INSTALLED_APPS に設定を追加する必要があります。)。 アプリケーションを設定する ¶ アプリケーションを設定するためには、アプリケーション内に ...
https://man.mtool.work/django/6.1/ref/applications.html
多対多 (many-to-many) 関係 — Django 6.1 ドキュメント 8725
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 多対多 (many-to-many) 関係 ¶ 多対多の関係を定義するには、 ManyToManyField を使用します。 この例では、一つの Article は複数の Publication オブジェクト ... tle = "Science Weekly" ) >>> p3 . save () Article を一つ作ります: >>> a1 = Article ( headline = "Django lets you build web apps easily" ) 保存するまでは Publication と関連付けることはできません: >>> a1 . publications . add ( p1 ) Traceback (most rece ... nt call last): ... ValueError : "<Article: Django lets you build web apps easily>" needs to have a value for field "id" before this many-to-many relationship can be used. 保存しましょう! >>> a1 . ... l () <QuerySet [<Article: NASA uses Python>]> >>> p1 . article_set . all () <QuerySet [<Article: Django lets you build web apps easily>, <Article: NASA uses Python>]> >>> Publication . objects . get ( id = 4 ) . article_set . all () <QuerySet [<Artic ...
https://man.mtool.work/django/6.1/topics/db/examples/many_to_many.html
多対多 (many-to-many) 関係 — Django 6.1 ドキュメント 8662
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 多対多 (many-to-many) 関係 ¶ 多対多の関係を定義するには、 ManyToManyField を使用します。 この例では、一つの Article は複数の Publication オブジェクト ... tle = "Science Weekly" ) >>> p3 . save () Article を一つ作ります: >>> a1 = Article ( headline = "Django lets you build web apps easily" ) 保存するまでは Publication と関連付けることはできません: >>> a1 . publications . add ( p1 ) Traceback (most rece ... nt call last): ... ValueError : "<Article: Django lets you build web apps easily>" needs to have a value for field "id" before this many-to-many relationship can be used. 保存しましょう! >>> a1 . ... l () <QuerySet [<Article: NASA uses Python>]> >>> p1 . article_set . all () <QuerySet [<Article: Django lets you build web apps easily>, <Article: NASA uses Python>]> >>> Publication . objects . get ( id = 4 ) . article_set . all () <QuerySet [<Artic ...
https://man.mtool.work/django/6.1/topics/db/examples/many_to_many.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 8006
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... tor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( apps , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here class Migra ... _db" ] return True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Depe ... uuid_values.py ¶ # Generated by Django A.B on YYYY-MM-DD HH:MM from django.db import migrations import uuid def gen_uuid ( apps , schema_editor ): MyModel = apps . get_model ( "myapp" , "MyModel" ) for row in MyModel . objects . all (): row . uuid = ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
データベースのマイグレーションの作成方法 — Django 6.1 ドキュメント 7943
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースのマイグレーションの作成方法 ¶ このドキュメントでは、遭遇する可能性のあるいくつかのシナリオに対する、データベースのマイグレーションの構成 ... tor.connection.alias 属性を見て、データベース接続のエイリアスを確認します: from django.db import migrations def forwards ( apps , schema_editor ): if schema_editor . connection . alias != "default" : return # Your migration code goes here class Migra ... _db" ] return True これをマイグレーションに利用するには、次のようにします: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... class Migration ( migrations . Migration ): dependencies = [ # Depe ... uuid_values.py ¶ # Generated by Django A.B on YYYY-MM-DD HH:MM from django.db import migrations import uuid def gen_uuid ( apps , schema_editor ): MyModel = apps . get_model ( "myapp" , "MyModel" ) for row in MyModel . objects . all (): row . uuid = ...
https://man.mtool.work/django/6.1/howto/writing-migrations.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 7818
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... uld change it as soon as possible (nothing more than renaming is required). initial_data fixtures are no longer loaded for apps with migrations; if you want to load initial data for an app, we suggest you create a migration for your application and d ... efine a RunPython or RunSQL operation in the operations section of the migration. Test rollback behavior is different for apps with migrations; in particular, Django will no longer emulate rollbacks on non-transactional databases or inside Transacti ... onTestCase unless specifically requested . It is not advised to have apps without migrations depend on (have a ForeignKey or ManyToManyField to) apps with migrations. App-loading refactor ¶ Histor ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7.2 リリースノート — Django 6.1 ドキュメント 7745
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7.2 リリースノート ¶ January 2, 2015 Django 1.7.2 fixes several bugs in 1.7.1. Additionally, Django's vendored version of six, django.utils ... ised every time two models clashed in the app registry. ( #23621 ). Prevented flush from loading initial data for migrated apps ( #23699 ). Fixed a makemessages regression in 1.7.1 when STATIC_ROOT has the default None value ( #23717 ). Added GeoDjan ... timize parameter ( #23799 ). Made RenameModel reversible ( #22248 ) Avoided unnecessary rollbacks of migrations from other apps when migrating backwards ( #23410 ). Fixed a rare query error when using deeply nested subqueries ( #23605 ). Fixed a cras ... n crash when adding order_with_respect_to to a table with existing rows ( #23983 ). Restored the pre_migrate signal if all apps have migrations ( #23975 ). Made admin system checks run for custom AdminSite s ( #23497 ). Ensured the app registry is fu ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 7682
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... uld change it as soon as possible (nothing more than renaming is required). initial_data fixtures are no longer loaded for apps with migrations; if you want to load initial data for an app, we suggest you create a migration for your application and d ... efine a RunPython or RunSQL operation in the operations section of the migration. Test rollback behavior is different for apps with migrations; in particular, Django will no longer emulate rollbacks on non-transactional databases or inside Transacti ... onTestCase unless specifically requested . It is not advised to have apps without migrations depend on (have a ForeignKey or ManyToManyField to) apps with migrations. App-loading refactor ¶ Histor ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7.2 リリースノート — Django 6.1 ドキュメント 7620
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7.2 リリースノート ¶ January 2, 2015 Django 1.7.2 fixes several bugs in 1.7.1. Additionally, Django's vendored version of six, django.utils ... ised every time two models clashed in the app registry. ( #23621 ). Prevented flush from loading initial data for migrated apps ( #23699 ). Fixed a makemessages regression in 1.7.1 when STATIC_ROOT has the default None value ( #23717 ). Added GeoDjan ... timize parameter ( #23799 ). Made RenameModel reversible ( #22248 ) Avoided unnecessary rollbacks of migrations from other apps when migrating backwards ( #23410 ). Fixed a rare query error when using deeply nested subqueries ( #23605 ). Fixed a cras ... n crash when adding order_with_respect_to to a table with existing rows ( #23983 ). Restored the pre_migrate signal if all apps have migrations ( #23975 ). Made admin system checks run for custom AdminSite s ( #23497 ). Ensured the app registry is fu ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT