Results of 61 - 70 of about 123 for context (0.090 sec.)
- The flatpages app — Django 4.0.6 ドキュメント 5725
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
es/default.html . It passes that template a single context variable, flatpage , which is the flatpage object. ...
It uses RequestContext in rendering the template. The middleware will onl ...
ault.html . Flatpage templates are passed a single context variable, flatpage , which is the flatpage object. ...
a string, or as a variable to be resolved from the context. For example: {% get_flatpages '/about/' as about_ ...
-
https://man.plustar.jp/django/ref/contrib/flatpages.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 5725
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e , template = None , arg_joiner = None , ** extra_context ) ¶ Generates the SQL fragment for the database fu ...
on , template , arg_joiner , and any other **extra_context parameters to customize the SQL as needed. For exa ...
as_mysql ( self , compiler , connection , ** extra_context ): return super () . as_sql ( compiler , connectio ...
" %(function)s ('', %(expressions)s )" , ** extra_context ) To avoid an SQL injection vulnerability, extra_c ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 5725
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hanged through the django.test.TestCase.settings() context manager or the django.test.override_settings() dec ...
orator/context manager. It's actually sent twice: when the new va ...
object which was rendered. template Same as sender context The Context with which the template was rendered. ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]
- フォームセット (Formset) — Django 4.0.6 ドキュメント 5688
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as per the form's as_ul() method. BaseFormSet. get_context () ¶ New in Django 4.0. Returns the context for re ...
ndering a formset in a template. The available context is: formset : The instance of the formset. BaseFor ...
mSet. render ( template_name = None , context = None , renderer = None ) ¶ New in Django 4.0. Th ...
and will default to: template_name : template_name context : Value returned by get_context() renderer : Value ...
-
https://man.plustar.jp/django/topics/forms/formsets.html
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 5651
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ngle reportable error or warning. It also provides context and hints applicable to the message, and a unique ...
one can be used. obj Optional. An object providing context for the message (for example, the model where the ...
dmin application. admin.E402 : django.contrib.auth.context_processors.auth must be enabled in DjangoTemplates ...
application. admin.E404 : django.contrib.messages.context_processors.messages must be enabled in DjangoTempl ...
-
https://man.plustar.jp/django/ref/checks.html
- [similar]
- ウィジェット — Django 4.0.6 ドキュメント 5651
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
実行は防衛的にプログラムされなければなりません。 get_context ( name , value , attrs ) ¶ Returns a dictionary of ...
mplate_name . Widget subclasses can provide custom context values by overriding this method. id_for_label ( i ...
ことを覚えておいてください。 It provides some custom context: get_context ( name , value , attrs ) ¶ In additio ...
n to the 'widget' key described in Widget.get_context() , MultiWidget adds a widget['subwidgets'] key. T ...
-
https://man.plustar.jp/django/ref/forms/widgets.html
- [similar]
- Django 1.8.3 リリースノート — Django 4.0.6 ドキュメント 5651
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
4 ). Reverted an optimization to the CSRF template context processor which caused a regression ( #24836 ). Fi ...
xed a regression which caused template context processors to overwrite variables set on a Request ...
-
https://man.plustar.jp/django/releases/1.8.3.html
- [similar]
- Advice for new contributors — Django 4.0.6 ドキュメント 5626
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ngoing contributions to the code. Analyze tickets' context and history Trac isn't an absolute; the context is ...
-
https://man.plustar.jp/django/internals/contributing/new-contributors.html
- [similar]
- はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 5626
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ate = loader . get_template ( 'polls/index.html' ) context = { 'latest_question_list' : latest_question_list ...
, } return HttpResponse ( template . render ( context , request )) このコードは、 polls/index.html という ...
uestion . objects . order_by ( '-pub_date' )[: 5 ] context = { 'latest_question_list' : latest_question_list ...
} return render ( request , 'polls/index.html' , context ) 全部の view をこのように書き換えてしまえば、 loa ...
-
https://man.plustar.jp/django/intro/tutorial03.html
- [similar]
- The staticfiles app — Django 4.0.6 ドキュメント 5589
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
app to work with static files: The django.template.context_processors.static() context processor which adds S ...
TATIC_URL to every template context rendered with RequestContext contexts. The builtin ...
-
https://man.plustar.jp/django/ref/contrib/staticfiles.html
- [similar]