検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 257 for all (0.071 sec.)
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 10934
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... publications . add ( p1 ) Traceback (most recent call last): ... ValueError : "<Article: Django lets you ... publications . add ( a1 ) Traceback (most recent call last): ... TypeError : 'Publication' instance expe ... lated Publication objects: >>> a1 . publications . all () <QuerySet [<Publication: The Python Journal>]> ... >>> a2 . publications . all () <QuerySet [<Publication: Highlights for Childre ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 9980
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を出力するプログラムです: for e in Entry . objects . all (): print ( e . headline ) メモ: 単に1つ以上の結果 ... atabase. repr(). A QuerySet is evaluated when you call repr() on it. This is for convenience in the Pytho ... す。たとえば: entry_list = list ( Entry . objects . all ()) bool(). Testing a QuerySet in a boolean contex ... Set s ¶ If you pickle a QuerySet , this will force all the results to be loaded into memory prior to pick ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 9353
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .utils.deprecation import RemovedInDjango41Warning ALL_CHECKS = "__all__" [ドキュメント] class CommandErr ... , as SystemExit is unacceptable when a command is called programmatically. """ def __init__ ( self , * , ... missing_args_message = None , called_from_command_line = None , ** kwargs ): self . m ... issing_args_message = missing_args_message self . called_from_command_line = called_from_command_line sup ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 9035
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... >>> b = Blog ( name = 'Beatles Blog' , tagline = 'All the latest Beatles news.' ) >>> b . save () この例 ... et の主な取得元になります。たとえば、 Blog.objects.all() はデータベース内の Blog オブジェクト全てを含んだ ... ェクトを取得することです。それには Manager に対して all() メソッドを呼びます。 >>> all_entries = Entry . o ... bjects . all () all() メソッドは、データベース内のすべてのオブジ ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
django-admin と manage.py — Django 4.0.6 ドキュメント 8498
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 般をまとめます。 In addition, manage.py is automatically created in each Django project. It does the same ... in script should be on your system path if you installed Django via pip . If it's not in your path, ensur ... django-admin help --commands to display a list of all available commands. Run django-admin help <command ... e containing your models. For example, if your INSTALLED_APPS contains the string 'mysite.blog' , the app ...
https://man.plustar.jp/django/ref/django-admin.html - [similar]
フォームアセット (Media クラス) — Django 4.0.6 ドキュメント 8131
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e. This is where asset definitions come in. Django allows you to associate different files -- like styles ... free to use them in your own application! They're all stored in django.contrib.admin.widgets . Which Jav ... dget ( forms . TextInput ): class Media : css = { 'all' : ( 'pretty.css' ,) } js = ( 'animations.js' , 'a ... tic.example.com/pretty.css" type="text/css" media="all" rel="stylesheet"> <script src="http://static.exam ...
https://man.plustar.jp/django/topics/forms/media.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7972
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... default PostgreSQL database and a MySQL database called users : DATABASES = { 'default' : { 'NAME' : 'ap ... . To do this, you must set up DATABASE_ROUTERS for all of your apps' models, including those in any contr ... default databases, with the default entry intentionally left empty: DATABASES = { 'default' : {}, 'users' ... nchronize a different database. So, to synchronize all models onto all databases in the first example abo ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
設定 — Django 4.0.6 ドキュメント 7544
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 警告 Be careful when you override settings, especially when the default value is a non-empty list or dic ... overriding get_absolute_url() methods on a per-installation basis. Example: ABSOLUTE_URL_OVERRIDES = { 'b ... ), } The model name used in this setting should be all lowercase, regardless of the case of the actual mo ... . ADMINS ¶ デフォルト値: [] (空のリスト) A list of all the people who get code error notifications. When ...
https://man.plustar.jp/django/ref/settings.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 7176
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ay it can reconstruct a field correctly is to have all the changes in the history, and you might need tho ... す。 PostgreSQL ¶ PostgreSQL is the most capable of all the databases here in terms of schema support. The ... hon manage.py migrate Operations to perform: Apply all migrations: books Running migrations: Rendering mo ... support DDL transactions (SQLite and PostgreSQL), all migration operations will run inside a single tran ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7017
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 3, 3.4, or 3.5. We highly recommend and only officially support the latest release of each series. Django ... ormalized API for Model._meta , providing an officially supported way to retrieve fields and filter field ... w official API have been deprecated and will eventually be removed. Multiple template engines ¶ Django 1. ... uest/response cycle. The new check --deploy option allows you to check your production settings file for ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT