検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 225 for some (0.072 sec.)
Django のショートカット関数 — Django 4.0.6 ドキュメント 5971
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... edirect() function in a number of ways. By passing some object; that object's get_absolute_url() method wi ... obj ) By passing the name of a view and optionally some positional or keyword arguments; the URL will be r ... d: def my_view ( request ): ... return redirect ( 'some-view-name' , foo = 'bar' ) By passing a hardcoded ... : def my_view ( request ): ... return redirect ( '/some/url/' ) This also works with full URLs: def my_vie ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
Djangoの設定 — Django 4.0.6 ドキュメント 5971
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... go.conf import settings if settings . DEBUG : # Do something django.conf.settings はモジュールではなく、た ... ttings without setting DJANGO_SETTINGS_MODULE ¶ In some cases, you might want to bypass the DJANGO_SETTING ... ting is not passed to configure() and is needed at some later point, Django will use the default setting v ... ttings ¶ If you'd like default values to come from somewhere other than django.conf.global_settings , you ...
https://man.plustar.jp/django/topics/settings.html - [similar]
テンプレート — Django 4.0.6 ドキュメント 5877
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ring marked-up using the Django template language. Some constructs are recognized and interpreted by the t ... st tags accept arguments: {% cycle 'odd' 'even' %} Some tags require beginning and ending tags: {% if user ... he Web Framework For Perfectionists With Deadlines Some filters take an argument: {{ my_date | date :"Y-m- ... API. コンテキスト ¶ django.template.Context holds some metadata in addition to the context data. It is pa ...
https://man.plustar.jp/django/topics/templates.html - [similar]
テストツール — Django 4.0.6 ドキュメント 5877
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... However, you can use keyword arguments to specify some default headers. For example, this will send a Use ... 性がアクセスされるたびに作られるためです): def test_something ( self ): session = self . client . session s ... ession [ 'somekey' ] = 'test' session . save () 言語の設定 ¶ 国際 ... y will be available, and it will be augmented with some useful additions as described in each section belo ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
How to create CSV output — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mport csv from django.http import HttpResponse def some_view ( request ): # Create the HttpResponse object ... = { 'Content-Disposition' : 'attachment; filename="somefilename.csv"' }, ) writer = csv . writer ( respons ... nstead of storing in a buffer.""" return value def some_streaming_csv_view ( request ): """A view that str ... = { 'Content-Disposition' : 'attachment; filename="somefilename.csv"' }, ) テンプレートシステムを使う ¶ も ...
https://man.plustar.jp/django/howto/outputting-csv.html - [similar]
How to create PDF files — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... leResponse from reportlab.pdfgen import canvas def some_view ( request ): # Create a file-like buffer to r ... n the PDF file. 注釈 ReportLab is not thread-safe. Some of our users have reported odd issues with buildin ... e How to create CSV output for another example and some techniques you can use when generated text-based f ...
https://man.plustar.jp/django/howto/outputting-pdf.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... terate over the queryset: for obj in queryset : do_something_with ( obj ) That's actually all there is to ... code will give us an admin change list that looks something like this: That's really all there is to it! ... ed back to the original change list page. However, some actions, especially more complex ones, will need t ... that uses Django's serialization functions to dump some selected objects as JSON: from django.core import ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
設定 — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e parameters vary depending on your cache backend. Some information on available parameters can be found i ... kies, the form submission would fail in this case. Some browsers (specifically Internet Explorer) can disa ... n disk, thereby causing CSRF protection checks to (sometimes intermittently) fail. Change this setting to ... the setting offers little practical benefit, it's sometimes required by security auditors. If you enable ...
https://man.plustar.jp/django/ref/settings.html - [similar]
Django 1.4.20 release notes — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ied redirect URLs ¶ Django relies on user input in some cases (e.g. django.contrib.auth.views.login() and ... to a link, they could suffer from an XSS attack as some browsers such as Google Chrome ignore control char ...
https://man.plustar.jp/django/releases/1.4.20.html - [similar]
パフォーマンスと最適化 — Django 4.0.6 ドキュメント 5794
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t improved performance in another, but not always; sometimes one can even be at the expense of another. Fo ... an be self-defeating - if the speed improvement is so memory-hungry that the system starts to run out of m ... a valuable resource, more precious than CPU time. Some improvements might be too difficult to be worth im ... ervices that perform a similar analysis, including some that are Django-aware and can integrate with your ...
https://man.plustar.jp/django/topics/performance.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT