検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 20 for record (0.038 sec.)
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 7970
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eObjectMixin from books.models import Author class RecordInterestView ( SingleObjectMixin , View ): """Recor ... n. self . object = self . get_object () # Actually record interest somehow here! return HttpResponseRedirect ... object . pk })) In practice you'd probably want to record the interest in a key-value store rather than in a ... om django.urls import path from books.views import RecordInterestView urlpatterns = [ #... path ( 'author/<i ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
The "sites" framework — Django 4.0.6 ドキュメント 7919
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lished twice in the database; it only has a single record in the database. It lets the site developers use t ... the lookup fails because the host does not match a record in the database, the port is stripped and the look ...
https://man.plustar.jp/django/ref/contrib/sites.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7851
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... always use count() rather than loading all of the record into Python objects and calling len() on the resul ... omments_on = False ) 132 If you're just updating a record and don't need to do anything with the model objec ... g Model.save() ). If you want to update a bunch of records for a model that has a custom save() method, loop ... or each database engine.) Note this will match any record with a pub_date on the third day of the month, suc ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
ロギング — Django 4.0.6 ドキュメント 7851
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... used to provide additional control over which log records are passed from logger to handler. デフォルトでは ... ることも可能です。 フォーマッタ ¶ Ultimately, a log record needs to be rendered as text. Formatters describe ... nsists of a Python formatting string containing LogRecord attributes ; however, you can also write custom fo ... tially sensitive information. For example, the log record may contain information about a web request or a s ...
https://man.plustar.jp/django/topics/logging.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 7749
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e, Django will assume you're changing the existing record rather than creating a new one. Given the above 'C ... example, this example would override the previous record in the database: b4 = Blog ( id = 3 , name = 'Not ... mary key as a tie-breaker. This guarantees that no records are skipped or duplicated. That also means you ca ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
How is Django Formed? — Django 4.0.6 ドキュメント 7630
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... thon -m pip install wheel twine Access to Django's record on PyPI. Create a file with your credentials: ~/.p ...
https://man.plustar.jp/django/internals/howto-release-django.html - [similar]
設計思想 — Django 4.0.6 ドキュメント 7630
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... める ¶ モジュールは、マーティン・ファウラーの Active Record のデザインパターンに従い、「オブジェクト」のすべて ...
https://man.plustar.jp/django/misc/design-philosophies.html - [similar]
メッセージフレームワーク — Django 4.0.6 ドキュメント 7630
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 依存しないことが推奨されます。 Changing the minimum recorded level per-request ¶ The minimum recorded level c ... equest , 'Test message...' ) # In another request, record only messages with a level of WARNING and higher m ... ( request , 'Your account is about to expire.' ) # recorded # Set the messages level back to default. messag ... request ) For more information on how the minimum recorded level functions, see Message levels above. Addin ...
https://man.plustar.jp/django/ref/contrib/messages.html - [similar]
ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 7630
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _object ( self ): obj = super () . get_object () # Record the last accessed date obj . last_accessed = timez ...
https://man.plustar.jp/django/topics/class-based-views/generic-display.html - [similar]
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 7562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : def sensitive_function ( self ): self . database_record . delete () sensitive_function . alters_data = Tru ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
PREV 1 2 NEXT