検索

phrase: max: clip:
target: order:
Results of 161 - 170 of about 170 for there (0.129 sec.)
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 4782
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mary key is always serialized as the pk element in the resulting output; it never appears in the fields par ... eanField ( default = False ) If you only serialize the Restaurant model: data = serializers . serialize ( ' ... the value of the primary key(s) of the objects in the relation. This strategy works well for most objects, ... fixture loading will fail with an IntegrityError . There is also the matter of convenience. An integer id i ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
テストツール — Django 4.0.6 ドキュメント 4782
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ontrolling whether or not exceptions raised during the request should also be raised in the test. Defaults ... a 500 response as would be returned to a browser. The response has the attribute exc_info to provide infor ... client . get ( '/customer/details/' ) # Check that the response is 200 OK. self . assertEqual ( response . ... status_code , 200 ) # Check that the rendered context contains 5 customers. self . assert ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing how long your migrations live for. You can see the results of deconstruction by looking in migrations t ... es you a way to tell Django to get out of the way. The rel_db_type() method is called by fields such as For ... method on the class you're wrapping up as a field. There are a lot of places where the default behavior of ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... bjects . get ( pk = 1 ) # Display any choices from the related object set -- none so far. >>> q . choice_se ... ips. # This works as many levels deep as you want; there's no limit. # Find all Choices for any question wh ...
https://man.plustar.jp/django/intro/tutorial02.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... et_max_age ( response ) ¶ Returns the max-age from the response Cache-Control header as an integer (or None ... T' , cache = None ) ¶ Returns a cache key based on the request path. It can be used in the request phase be ... es those to build a cache key to check against. If there is no headerlist stored, the page needs to be rebu ... rs to take into account for some request path from the response object. It stores those headers in a global ...
https://man.plustar.jp/django/ref/utils.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ials. The new LOGOUT_REDIRECT_URL setting controls the redirect of the django.contrib.auth.views.logout() v ... d has a min_length . Required form fields now have the required HTML attribute. Set the new Form.use_requir ... ed_attribute attribute to False to disable it. The required attribute isn't included on forms of formse ... 04 status code (No Content) for AJAX requests when there is no next parameter in POST or GET . The JavaScri ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nt is not available when unapplying migrations and therefore still requires the precomputation and storage ... n't support time zones when USE_TZ is True . Added the RelatedManager.set() method to the related managers ... used with class-based views. Exceptions raised by the render() method are now passed to the process_except ... equest.get_port() to fetch the originating port of the request. Added the json_dumps_params parameter to Js ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... except User . DoesNotExist : # Create a new user. There's no need to set a password # because only the pas ... ): """A form for creating new users. Includes all the required fields, plus a repeated password.""" passwo ...
https://man.plustar.jp/django/topics/auth/customizing.html - [similar]
セッションの使いかた — Django 4.0.6 ドキュメント 4681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... al-memory cache backend is NOT multi-process safe, therefore probably not a good choice for production envi ... . In particular, while it is possible to determine the remaining lifetime of a session just when you have t ... arbitrary Python data types. As is often the case, there is a trade-off between convenience and security. I ...
https://man.plustar.jp/django/topics/http/sessions.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 4579
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... te a set of credentials; for example, it's used by the RemoteUserMiddleware . Unless you are writing your o ... that don't pass the test to a non-login page where there's no "next page". 例: @user_passes_test ( email_ch ... er=True and the logged-in user doesn't have all of the required permissions. The PermissionRequiredMixin mi ... ecute the decorated view. By default, this returns the result of calling has_perms() with the list of permi ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
PREV 8 9 10 11 12 13 14 15 16 17 NEXT