検索

phrase: max: clip:
target: order:
Results of 131 - 140 of about 239 for example (0.106 sec.)
Signals — Django 4.0.6 ドキュメント 4658
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n receiving a certain subset of those signals. For example, consider the django.db.models.signals.pre_save si ... thus called as many times for a signal event. For example, the ready() method may be executed more than once ... e as many other keyword arguments as you like. For example, here's how sending our pizza_done signal might lo ...
https://man.plustar.jp/django/topics/signals.html - [similar]
FAQ: 管理インタフェース — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... みてください。例えばお使いのブラウザで " https://www.example.com/admin/ " に飛ぶ場合には SESSION_COOKIE_DOMAIN ... = 'www.example.com' と設定します。 ログインできません。正しいユー ... nyToManyField if there are no related objects. For example, if your list_filter includes sites , and there ar ...
https://man.plustar.jp/django/faq/admin.html - [similar]
How to authenticate against Django's user database from Apache — Django 4.0.6 ... 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... res Apache version >= 2.2 and mod_wsgi >= 2.0. For example, you could: Serve static/media files directly from ... password that it receives from the prompt. In this example, the WSGIAuthUserScript is the same as the WSGIScr ...
https://man.plustar.jp/django/howto/deployment/wsgi/apache-auth.html - [similar]
アプリケーション — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 'anthology.apps.JazzManoucheConfig' , # ... ] This example shows project-specific configuration classes locat ... un during startup of every management command. For example, even though the test database configuration is se ... functional (reverse accessors may be missing, for example) until the app registry is fully populated. For th ... riggers code that depends on the app registry. For example, gettext() uses the app registry to look up transl ...
https://man.plustar.jp/django/ref/applications.html - [similar]
Geolocation with GeoIP2 — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ibrary's faster speed. カスタマイズ例 ¶ Here is an example of its usage: >>> from django.contrib.gis.geoip2 i ... dress or a fully qualified domain name (FQDN). For example, both '205.186.163.125' and 'djangoproject.com' wo ...
https://man.plustar.jp/django/ref/contrib/gis/geoip2.html - [similar]
メッセージフレームワーク — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e to any of the add_message family of methods. For example: messages . add_message ( request , messages . SUC ... from the form which is used for string formatting Example views.py : from django.contrib.messages.views impo ... object override the get_success_message() method. Example views.py for ModelForms : from django.contrib.mess ... equests that set or get messages in parallel . For example, if a client initiates a request that creates a me ...
https://man.plustar.jp/django/ref/contrib/messages.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ls to express queries without writing raw SQL. For example: The QuerySet API is extensive. You can annotate a ... son' ): ... print ( p ) John Smith Jane Jones This example isn't very exciting -- it's exactly the same as ru ... d both the first name and last name. However, this example actually issued 3 queries. Only the first names we ... 's built-in backends, only Oracle supports it. For example, given this stored procedure in an Oracle database ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
フォームセット (Formset) — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... et_factory() defines one extra form; the following example will create a formset class to display two blank f ... ount メソッドが使えます。 >>> # Using the previous example >>> formset . errors [{}, {'pub_date': ['This fiel ... L_FORMS and form-INITIAL_FORMS fields shown in the examples here, the management form also includes form-MIN_ ... ields are not required and so are not shown in the example POST data. Changed in Django 3.2: formset.is_valid ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mal HttpResponse in order to signify an error. For example: from django.http import HttpResponse , HttpRespon ... 03/' ) # Make assertions on the response here. For example: self . assertContains ( response , 'Error handler ... ASGI to get their performance benefits. Here's an example of an async view: import datetime from django.http ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
タイムゾーン — Django 4.0.6 ドキュメント 4618
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... he Using ZoneInfo section of the zoneinfo docs for examples using the fold attribute to specify the offset th ... lendar system contains interesting edge cases. For example, you can't always subtract one year directly from ... atetime >>> def one_year_before ( value ): # Wrong example. ... return value . replace ( year = value . year ... zoneinfo.ZoneInfo(key='America/New_York')) As this example shows, the same datetime has a different date, dep ...
https://man.plustar.jp/django/topics/i18n/timezones.html - [similar]