検索

phrase: max: clip:
target: order:
Results of 61 - 70 of about 73 for redirect (0.086 sec.)
タイムゾーン — Django 4.0.6 ドキュメント 6036
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... きるビューを作成します: from django.shortcuts import redirect , render # Prepare a map of common locations to ti ... timezone' ] = request . POST [ 'timezone' ] return redirect ( '/' ) else : return render ( request , 'template ...
https://man.plustar.jp/django/topics/i18n/timezones.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 5994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _method_not_allowed() render_to_response() setup() RedirectView ¶ class RedirectView ¶ 属性 (と省略可能な継承元 ... ames pattern_name permanent query_string url [ get_redirect_url() ] メソッド as_view() delete() dispatch() get ... インデックス シンプルな汎用ビュー View TemplateView RedirectView 詳細のビュー Detail Views リストのビュー List ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 5994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... default, after an action is performed the user is redirected back to the original change list page. However, ... the best practice will be to return an HttpResponseRedirect and redirect the user to a view you've written, pa ... thing to do would be to write a small action that redirects to your custom export view: from django.contrib.c ... rt ContentType from django.http import HttpResponseRedirect def export_selected_objects ( modeladmin , request ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 5994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... er to add a final catch-all view to the admin that redirects unauthenticated users to the login page. By defau ... t jsi18n Application index page app_list app_label Redirect to object's page view_on_site content_type_id , ob ... ember_required decorator ¶ staff_member_required ( redirect_field_name = 'next' , login_url = 'admin:login' ) ... the view normally. Otherwise, the request will be redirected to the URL specified by the login_url parameter, ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 5994
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ponse can be the HTML contents of a web page, or a redirect, or a 404 error, or an XML document, or an image . ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 5952
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... its path, and APPEND_SLASH was True, Django would redirect to the same URL, but with a slash appended to the ... tched by something in your URL patterns. If so, no redirection takes place, because it is assumed you delibera ... /(.*)$' Previously, those patterns would have been redirected to have a trailing slash. If you always want a s ... style access; previously, both GET and POST data were directly available on the HttpRequest object (e.g., you ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 5952
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... per query isn't exceeded. The LOGIN_URL and LOGIN_REDIRECT_URL settings now also accept view function names a ... n oversight, it was possible to use django.contrib.redirects without enabling django.contrib.sites . This isn' ... allowed any longer. If you're using django.contrib.redirects , make sure INSTALLED_APPS contains django.contri ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 5952
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... go.http import HttpResponseForbidden , HttpResponseRedirect from django.urls import reverse from django.views ... y record interest somehow here! return HttpResponseRedirect ( reverse ( 'author-detail' , kwargs = { 'pk' : se ... d ( form ) get_success_url() provides somewhere to redirect to, which gets used in the default implementation ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 5952
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... om raising a helpful error message if you follow a redirect to an external URL. Tests and multiple databases ¶ ... created. Instead the connection to replica will be redirected to point at default . As a result, writes to def ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 5896
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eFallbackMiddleware only adds a trailing slash and redirects if the resulting URL refers to an existing flatpa ... otaflatpageoravalidurl in a previous version would redirect to /notaflatpageoravalidurl/ , which would subsequ ... ravalidurl now will immediately raise a 404. Also, redirects returned by flatpages are now permanent (with 301 ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT