Results of 101 - 110 of about 572 for function (0.091 sec.)
- Advanced testing topics — Django 4.0.6 ドキュメント 3939
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
gument to any view. This means you can test a view function the same way as you would test any other function ...
ied by the test itself if required for the view to function properly. カスタマイズ例 ¶ The following is a unit ...
data will be provided to the teardown_databases() function at the conclusion of testing. The aliases argument ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- How to write custom lookups — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s AbsoluteValue ( Transform ): lookup_name = 'abs' function = 'ABS' 次に、 IntegerField に登録しましょう: from ...
s AbsoluteValue ( Transform ): lookup_name = 'abs' function = 'ABS' @property def output_field ( self ): retur ...
ass UpperCase ( Transform ): lookup_name = 'upper' function = 'UPPER' bilateral = True 次に、登録しましょう: f ...
-
https://man.plustar.jp/django/howto/custom-lookups.html
- [similar]
- How to manage static files (e.g. images, JavaScript, CSS) — Django 4.0.6 ドキュ... 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t_root = settings . STATIC_ROOT ) 注釈 This helper function works only in debug mode and only if the given pre ...
nt_root = settings . MEDIA_ROOT ) 注釈 This helper function works only in debug mode and only if the given pre ...
-
https://man.plustar.jp/django/howto/static-files/index.html
- [similar]
- アプリケーション — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
odel() returns a model class that may not be fully functional (reverse accessors may be missing, for example) ...
rwise. Initializing the application registry. This function is called automatically: When running an HTTP serv ...
ted at this point, which could cause the ORM to malfunction. Once this stage completes, APIs that operate on m ...
s will also trigger this exception. The ORM cannot function properly until all models are available. This exce ...
-
https://man.plustar.jp/django/ref/applications.html
- [similar]
- The Django admin documentation generator — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
view. Helpful things you can document in your view function docstrings include: A short description of what th ...
-
https://man.plustar.jp/django/ref/contrib/admin/admindocs.html
- [similar]
- Form fields — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ling whitespace is allowed, as in Python's float() function. Error message keys: required , invalid , max_valu ...
ailing whitespace is allowed, as in Python's int() function. Error message keys: required , invalid , max_valu ...
, invalid_choice Takes extra arguments: coerce ¶ A function that takes one argument and returns a coerced valu ...
at , bool and other types. Defaults to an identity function. Note that coercion happens after input validation ...
-
https://man.plustar.jp/django/ref/forms/fields.html
- [similar]
- 設定 — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ctionary mapping "app_label.model_name" strings to functions that take a model object and return its URL. This ...
Django 4.0: The RedisCache backend was added. KEY_FUNCTION ¶ A string containing a dotted path to a function ...
y. The default implementation is equivalent to the function: def make_key ( key , key_prefix , version ): retu ...
efix , str ( version ), key ]) You may use any key function you want, as long as it has the same argument sign ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]
- ビューを記述する — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
« previous | up | next » ビューを記述する ¶ A view function, or view for short, is a Python function that take ...
403 ) 非同期ビュー ¶ As well as being synchronous functions, views can also be asynchronous ("async") functio ...
-
https://man.plustar.jp/django/topics/http/views.html
- [similar]
- Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 3879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. objects . all ()) The arguments to the serialize function are the format to serialize the data to (see Seria ...
thing_with ( obj ) As you can see, the deserialize function takes the same format argument as serialize , a st ...
ass cls=LazyEncoder to the serializers.serialize() function: from django.core.serializers import serialize ser ...
と表現されます。 Decimal , Promise ( django.utils.functional.lazy() objects), UUID オブジェクトの文字列表現で ...
-
https://man.plustar.jp/django/topics/serialization.html
- [similar]
- django.contrib.sessions.exceptions — Django 4.0.6 ドキュメント 3811
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
-
https://man.plustar.jp/django/_modules/django/contrib/sessions/exceptions.html
- [similar]