Results of 71 - 80 of about 150 for views (0.114 sec.)
- テストツール — Django 4.0.6 ドキュメント 5424
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as a dummy web browser, allowing you to test your views and interact with your Django-powered application ...
るために使えます: # my_view here is a function based view self . assertEqual ( response . resolver_match . fu ...
nc , my_view ) # class-based views need to be compared by name, as the functions # ge ...
Lconf configuration ¶ If your application provides views, you may want to include tests that use the test c ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- The staticfiles app — Django 4.0.6 ドキュメント 5389
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
you can use to serve files locally in development. views. serve ( request , path ) ¶ This view function ser ...
rt settings from django.contrib.staticfiles import views from django.urls import re_path if settings . DEBU ...
atterns += [ re_path ( r '^static/(?P<path>.*)$' , views . serve ), ] Note, the beginning of the pattern ( ...
hat it makes use of the django.contrib.staticfiles.views.serve() view described above, it can transparently ...
-
https://man.plustar.jp/django/ref/contrib/staticfiles.html
- [similar]
- How to create PDF files — Django 4.0.6 ドキュメント 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s how to output PDF files dynamically using Django views. This is made possible by the excellent, open-sour ...
ted odd issues with building PDF-generating Django views that are accessed by many people at the same time. ...
-
https://man.plustar.jp/django/howto/outputting-pdf.html
- [similar]
- How to manage static files (e.g. images, JavaScript, CSS) — Django 4.0.6 ドキュ... 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
が行われます。(詳しくは、 django.contrib.staticfiles.views.serve() を参照) ただし、この方法は 極めて非効率 で ...
trib.staticfiles が存在しない場合は、手動で django.views.static.serve() ビューを用いて静的ファイルを取り扱わ ...
によってアップロードされたメディアファイルを django.views.static.serve() ビューを利用している MEDIA_ROOT から ...
-
https://man.plustar.jp/django/howto/static-files/index.html
- [similar]
- Coding style — Django 4.0.6 ドキュメント 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
never available. For example, do this: from django.views import View instead of: from django.views.generic. ...
tents. Do this: {{ foo }} Don't do this: {{ foo }} View style ¶ In Django views, the first parameter in a v ...
-commit checks Python style Imports Template style View style Model style Use of django.conf.settings その他 ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/coding-style.h...
- [similar]
- Django 1.4.11 release notes — Django 4.0.6 ドキュメント 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching ...
ution, given the following conditions: One or more views are present which construct a URL based on user in ...
-
https://man.plustar.jp/django/releases/1.4.11.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
with a new implementation based on the class-based views introduced in Django 1.3. It features a pluggable ...
f keyword arguments used for single object generic views. Assignment template tags ¶ A new assignment_tag h ...
atically filtered out of error reports for certain views ( login , password_reset_confirm , password_change ...
and add_view in django.contrib.auth.views , as well as user_change_password in the admin app ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 1.5.6 release notes — Django 4.0.6 ドキュメント 5354
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching ...
ution, given the following conditions: One or more views are present which construct a URL based on user in ...
-
https://man.plustar.jp/django/releases/1.5.6.html
- [similar]
- Django 3.0 リリースノート — Django 4.0.6 ドキュメント 5319
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hing remains synchronous. Asynchronous middleware, views, etc. are not yet supported. You can, however, use ...
class attribute to the django.contrib.syndication.views.Feed to customize a feed language. The default val ...
er of AdminEmailHandler allows providing an django.views.debug.ExceptionReporter subclass to customize the ...
ns and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user's l ...
-
https://man.plustar.jp/django/releases/3.0.html
- [similar]
- ページネーション — Django 4.0.6 ドキュメント 5319
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ッドを利用できます。 Paginating a ListView ¶ django.views.generic.list.ListView provides a builtin way to pa ...
ibute to your view class, for example: from django.views.generic import ListView from myapp.models import C ...
-
https://man.plustar.jp/django/topics/pagination.html
- [similar]