検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 150 for views (0.020 sec.)
はじめての Django アプリ作成、その 4 — Django 4.0.6 ドキュメント 6920
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... polls/urls.py ¶ path ( '<int:question_id>/vote/' , views . vote , name = 'vote' ), このとき、 vote() 関数の ... 成しました。今度は本物を実装しましょう。以下を polls/views.py に追加してください: polls/views.py ¶ from djang ... リダイレクトします。このビューを書きましょう: polls/views.py ¶ from django.shortcuts import get_object_or_40 ... 票の一覧を表示する index() ビューも同様です。 These views represent a common case of basic web development: ...
https://man.plustar.jp/django/intro/tutorial04.html - [similar]
ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 6686
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ls . DateField () 次に、ビューを定義しましょう。 # views.py from django.views.generic import ListView from ... # urls.py from django.urls import path from books.views import PublisherListView urlpatterns = [ path ( 'p ... 定された属性を変更することで得られます。この generic views reference のドキュメントの残りの部分では、ジェネリ ... コンテキスト変数の名前として使えるようになります。 # views.py from django.views.generic import ListView from ...
https://man.plustar.jp/django/topics/class-based-views/generic-display.html - [similar]
Django Deprecation Timeline — Django 4.0.6 ドキュメント 6558
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t() , and ungettext_lazy() will be removed. django.views.i18n.set_language() will no longer set the user la ... es for more details on these changes. contrib.auth.views.login() , logout() , password_change() , password_ ... moved. The extra_context parameter of contrib.auth.views.logout_then_login() will be removed. django.test.r ... ) method will be removed. Support for custom error views with a single positional parameter will be dropped ...
https://man.plustar.jp/django/internals/deprecation.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 6499
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng, including: A framework for writing class-based views . Built-in support for using Python's logging faci ... can be subclassed and overridden to provide common views of data without having to write too much code. Ana ... logs of all the old function-based generic views have been provided, along with a completely generi ... nded. See the documentation on class-based generic views for more details. There is also a document to help ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 6499
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ting the code somewhere , the convention is to put views in a file called views.py , placed in your project ... エラービューをカスタマイズする ¶ The default error views in Django should suffice for most web applications ... 404 でオーバーライドされます: handler404 = 'mysite.views.my_custom_page_not_found_view' server_error() ビュ ... 500 でオーバーライドされます: handler500 = 'mysite.views.my_custom_error_view' permission_denied() ビューは ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
翻訳 — Django 4.0.6 ドキュメント 6371
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を意味します。 デフォルト値を使った例 : from django.views.i18n import JavaScriptCatalog urlpatterns = [ path ... URL でビューをマッピングしてください: from django.views.decorators.cache import cache_page from django.vie ... ver: from django.utils import timezone from django.views.decorators.http import last_modified from django.v ... jango.urls import include , path from about import views as about_views from news import views as news_view ...
https://man.plustar.jp/django/topics/i18n/translation.html - [similar]
How to manage error reporting — Django 4.0.6 ドキュメント 6231
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing the sensitive_variables decorator: from django.views.decorators.debug import sensitive_variables @sensi ... _post_parameters ( * parameters ) ¶ If one of your views receives an HttpRequest object with POST parameter ... e sensitive_post_parameters decorator: from django.views.decorators.debug import sensitive_post_parameters ... t of error reports for certain django.contrib.auth.views views ( login , password_reset_confirm , password_ ...
https://man.plustar.jp/django/howto/error-reporting.html - [similar]
The flatpages app — Django 4.0.6 ドキュメント 6231
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... urlpatterns: from django.contrib.flatpages import views # Your other patterns here urlpatterns += [ re_pat ... h ( r '^(?P<url>.*/)$' , views . flatpage ), ] 警告 If you set APPEND_SLASH to Fa ... template tag: from django.contrib.flatpages import views urlpatterns += [ path ( 'about-us/' , views . flat ... bout-us/' }, name = 'about' ), path ( 'license/' , views . flatpage , { 'url' : '/license/' }, name = 'lice ...
https://man.plustar.jp/django/ref/contrib/flatpages.html - [similar]
Django 1.4 documentation 6172
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... atterns ( '' , ( r '^articles/(\d {4} )/$' , 'news.views.year_archive' ), ( r '^articles/(\d {4} )/(\d {2} ... )/$' , 'news.views.month_archive' ), ( r '^articles/(\d {4} )/(\d {2} ... )/(\d+)/$' , 'news.views.article_detail' ), ) 上のコードは簡単な正規表現で書 ... 3/” という URL をリクエストすると、 Django は news.views.article_detail(request, '2005', '05', '39323') のよ ...
https://man.plustar.jp/django/contents.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 6172
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... granularity: You can cache the output of specific views, you can cache only the pieces that are difficult ... ドルウェア (Middleware) for more on middleware. If a view sets its own cache expiry time (i.e. it has a max-a ... IDDLEWARE_SECONDS . Using the decorators in django.views.decorators.cache you can easily set a view's expir ... SE_TZ is set to True . The per-view cache ¶ django.views.decorators.cache. cache_page ( timeout , * , cache ...
https://man.plustar.jp/django/topics/cache.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT