Results of 71 - 80 of about 187 for request (0.088 sec.)
- Django 1.9.3 リリースノート — Django 4.0.6 ドキュメント 5385
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.com\@attacker.com would be considered safe if the request's host is http://mysite.example.com , but redirect ...
t also creates a timing difference between a login request for a user with a password encoded in an older num ...
ber of iterations and login request for a nonexistent user (which runs the default has ...
2 in Django 1.4), the timing difference on a login request for these users may be even greater and this fix d ...
-
https://man.plustar.jp/django/releases/1.9.3.html
- [similar]
- Django 2.1 リリースノート — Django 4.0.6 ドキュメント 5385
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. QuerySet.raw() now supports prefetch_related() . Request と Response ¶ Added HttpRequest.get_full_path_info ...
nd 308 redirects. The test Client now serializes a request data dictionary as JSON if content_type='applicati ...
this flag won't send these cookies on cross-origin requests. If you rely on the old behavior, set the SESSION ...
dmin ( admin . ModelAdmin ): def get_form ( self , request , obj = None , ** kwargs ): if not self . has_chan ...
-
https://man.plustar.jp/django/releases/2.1.html
- [similar]
- フォームを使う — Django 4.0.6 ドキュメント 5352
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
such as an image. A web application that uses GET requests for admin forms is a security risk: it can be eas ...
y for an attacker to mimic a form's request to gain access to sensitive parts of the system. P ...
render from .forms import NameForm def get_name ( request ): # if this is a POST request we need to process ...
the form data if request . method == 'POST' : # create a form instance and ...
-
https://man.plustar.jp/django/topics/forms/index.html
- [similar]
- クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 5319
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
emplate_name_suffix on your view class. Models and request.user ¶ To track the user that created an object us ...
lf , form ): form . instance . created_by = self . request . user return super () . form_valid ( form ) Login ...
ponse = super () . form_invalid ( form ) if self . request . accepts ( 'text/html' ): return response else : ...
esponse = super () . form_valid ( form ) if self . request . accepts ( 'text/html' ): return response else : ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html
- [similar]
- ミドルウェア — Django 4.0.6 ドキュメント 5275
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_append_slash @no_append_slash def sensitive_fbv ( request , * args , ** kwargs ): """View to be excluded fro ...
e has already set the Content-Encoding header. The request (the browser) hasn't sent an Accept-Encoding heade ...
ponse has an ETag or Last-Modified header, and the request has If-None-Match or If-Modified-Since , the respo ...
by the SecurityMiddleware . That way, if there are requests that aren't served by Django (such as static medi ...
-
https://man.plustar.jp/django/ref/middleware.html
- [similar]
- Django 1.1.4 リリースノート — Django 4.0.6 ドキュメント 5275
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rds incompatible changes ¶ CSRF exception for AJAX requests ¶ Django includes a CSRF-protection mechanism, wh ...
.5, our CSRF protection made an exception for AJAX requests, on the following basis: Many AJAX toolkits add a ...
n X-Requested-With header when using XMLHttpRequest. Browsers ...
have strict same-origin policies regarding XMLHttpRequest. In the context of a browser, the only way that a ...
-
https://man.plustar.jp/django/releases/1.1.4.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 5242
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g the ordering dynamically (i.e., depending on the request). New ModelAdmin methods ¶ We added a save_related ...
th AJAX-heavy sites; protection for PUT and DELETE requests; and the CSRF_COOKIE_SECURE and CSRF_COOKIE_PATH ...
the problem of your proxy "eating" the fact that a request came in via HTTPS. But only use this setting if yo ...
ow sent to the client when Django detects that the request has originated in JavaScript code. ( is_ajax() is ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 4.0 release notes — Django 4.0.6 ドキュメント 5242
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
cordance with FormMixin , object deletion for POST requests is handled in form_valid() . Custom delete logic ...
grouping) contains no entries, rather than None . Request と Response ¶ The SecurityMiddleware now adds the ...
t CSRF_TRUSTED_ORIGINS , particularly if you allow requests from subdomains by setting CSRF_COOKIE_DOMAIN (or ...
ges ¶ DeleteView now uses FormMixin to handle POST requests. As a consequence, any custom deletion logic in d ...
-
https://man.plustar.jp/django/releases/4.0.html
- [similar]
- Generic editing ビュー — Django 4.0.6 ドキュメント 5209
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.views.generic.edit.ProcessFormView メソッド get ( request , * args , ** kwargs ) ¶ Sets the current object i ...
nstance ( self.object ) to None . post ( request , * args , ** kwargs ) ¶ Sets the current object i ...
.views.generic.edit.ProcessFormView メソッド get ( request , * args , ** kwargs ) ¶ Sets the current object i ...
nstance ( self.object ). post ( request , * args , ** kwargs ) ¶ Sets the current object i ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-editing.html
- [similar]
- Django 1.11 リリースノート — Django 4.0.6 ドキュメント 5209
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lp_text が UserCreationForm に追加されました。 HttpRequest が authenticate() に渡されるようになりました。これ ...
は、 request 属性を受け入れる場合にリクエストを認証バックエンド ...
に順番に渡します。 user_login_failed() シグナルが request 属性を受け取るようになりました。 PasswordResetForm ...
、 intersection() 、 difference() を追加しました。 Request と Response ¶ QueryDict.fromkeys() を追加しました。 ...
-
https://man.plustar.jp/django/releases/1.11.html
- [similar]