検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 16 for Reporter (0.028 sec.)
多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 14244
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... se ForeignKey : from django.db import models class Reporter ( models . Model ): first_name = models . CharFiel ... ax_length = 100 ) pub_date = models . DateField () reporter = models . ForeignKey ( Reporter , on_delete = mod ... rmed using the Python API facilities. Create a few Reporters: >>> r = Reporter ( first_name = 'John' , last_na ... il = 'john@example.com' ) >>> r . save () >>> r2 = Reporter ( first_name = 'Paul' , last_name = 'Jones' , emai ...
https://man.plustar.jp/django/topics/db/examples/many_to_one.html - [similar]
Django の概要 — Django 4.0.6 ドキュメント 10934
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ews/models.py ¶ from django.db import models class Reporter ( models . Model ): full_name = models . CharField ... max_length = 200 ) content = models . TextField () reporter = models . ForeignKey ( Reporter , on_delete = mod ... r "news" app >>> from news.models import Article , Reporter # No reporters are in the system yet. >>> Reporter ... . objects . all () < QuerySet [] > # Create a new Reporter. >>> r = Reporter ( full_name = 'John Smith' ) # S ...
https://man.plustar.jp/django/intro/overview.html - [similar]
How to manage error reporting — Django 4.0.6 ドキュメント 9790
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... actual filtering is done by Django's default error reporter filter: django.views.debug.SafeExceptionReporterFi ... nd tell Django to use it via the DEFAULT_EXCEPTION_REPORTER_FILTER setting: DEFAULT_EXCEPTION_REPORTER_FILTER ... = 'path.to.your.CustomExceptionReporterFilter' You may also control in a more granular way ... given view by setting the HttpRequest 's exception_reporter_filter attribute: def my_view ( request ): if requ ...
https://man.plustar.jp/django/howto/error-reporting.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 9218
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... something like this: # Tintin filed a news story! reporter = Reporters . objects . get ( name = 'Tintin' ) re ... porter . stories_filed += 1 reporter . save () Here, we have pulled the value of report ... uld also have done: from django.db.models import F reporter = Reporters . objects . get ( name = 'Tintin' ) re ... porter . stories_filed = F ( 'stories_filed' ) + 1 reporter . save () Although reporter.stories_filed = F('sto ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
django.utils.log — Django 4.0.6 ドキュメント 8889
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lf , include_html = False , email_backend = None , reporter_class = None ): super () . __init__ () self . incl ... e_html self . email_backend = email_backend self . reporter_class = import_string ( reporter_class or settings ... . DEFAULT_EXCEPTION_REPORTER ) def emit ( self , record ): try : request = reco ... exc_info = ( None , record . getMessage (), None ) reporter = self . reporter_class ( request , is_email = Tru ...
https://man.plustar.jp/django/_modules/django/utils/log.html - [similar]
Django 1.4 documentation 8785
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 内に保存されるような、簡単な例を示しまし ょう: class Reporter ( models . Model ): full_name = models . CharField ... max_length = 200 ) content = models . TextField () reporter = models . ForeignKey ( Reporter ) def __unicode__ ... モデルを import します。 >>> from news.models import Reporter , Article .. # No reporters are in the system yet. ... # まだシステム上に Reporter はひとつもありません。 >>> Reporter . objects . al ...
https://man.plustar.jp/django/contents.html - [similar]
ロギング — Django 4.0.6 ドキュメント 7953
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... er ( include_html = False , email_backend = None , reporter_class = None ) [ソース] ¶ This handler sends an em ... ckend specified in EMAIL_BACKEND will be used. The reporter_class argument of AdminEmailHandler allows providi ... ng an django.views.debug.ExceptionReporter subclass to customize the traceback text sent in t ... .log.AdminEmailHandler' , 'include_html' : True , 'reporter_class' : 'somepackage.error_reporter.CustomErrorRe ...
https://man.plustar.jp/django/ref/logging.html - [similar]
設定 — Django 4.0.6 ドキュメント 7780
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ructing the Content-Type header. DEFAULT_EXCEPTION_REPORTER ¶ Default: ' django.views.debug.ExceptionReporter ... ' Default exception reporter class to be used if none has been assigned to the ... yet. See Custom error reports . DEFAULT_EXCEPTION_REPORTER_FILTER ¶ デフォルト値: ' django.views.debug.SafeEx ... ceptionReporterFilter ' Default exception reporter filter class to ...
https://man.plustar.jp/django/ref/settings.html - [similar]
Generic display ビュー — Django 4.0.6 ドキュメント 7745
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... }} </ h1 > < p > {{ object.content }} </ p > < p > Reporter: {{ object.reporter }} </ p > < p > Published: {{ ...
https://man.plustar.jp/django/ref/class-based-views/generic-display.html - [similar]
Django のセキュリティポリシー — Django 4.0.6 ドキュメント 7711
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... levant patches and new releases, and crediting the reporter of the issue (if the reporter wishes to be publicl ...
https://man.plustar.jp/django/internals/security.html - [similar]
PREV 1 2 NEXT