検索

phrase: max: clip:
target: order:
Results of 91 - 100 of about 189 for return (0.098 sec.)
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ymous users. メソッド ¶ HttpRequest. get_host () ¶ Returns the originating host of the request using informa ... equest . META [ field ] = parts [ - 1 ] . strip () return self . get_response ( request ) This middleware sh ... or CsrfViewMiddleware . HttpRequest. get_port () ¶ Returns the originating port of the request using informa ... es, in that order. HttpRequest. get_full_path () ¶ Returns the path , plus an appended query string, if appl ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
Unicode data — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... quoting problems. モデル ¶ Because all strings are returned from the database as str objects, model fields t ... /person/ %s /?x=0&y=0' % quote ( self . location ) return iri_to_uri ( url ) This function returns a correct ... writing your own template tags and filters: Always return strings from a template tag's render() method and ... ny decoding applied to them. Those two fields will return their members as Unicode data. All other attribute ...
https://man.plustar.jp/django/ref/unicode.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... related() has been added to QuerySet . This method returns a new QuerySet that will prefetch each of the spe ... s [ 'warning' ] profile = kwargs [ 'profile' ] ... return ... Then, in the template, any number of arguments ... f both model formsets and inline model formsets as returned from factory functions modelformset_factory and ... now will immediately raise a 404. Also, redirects returned by flatpages are now permanent (with 301 status ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... econstruct() . This method takes no arguments, and returns a tuple of four items: name : The field's attribu ... . Writing a custom Manager was still necessary to return the custom QuerySet class and all methods that wer ... erySet ( models . QuerySet ): def pizzas ( self ): return self . filter ( kind = 'pizza' ) def vegetarian ( ... self ): return self . filter ( vegetarian = True ) class Food ( m ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ent-side i18n library upon Django translations. It returns a JSON object containing a translations catalog, ... inheritance. Model.delete() and QuerySet.delete() return the number of objects deleted. Added a system chec ... functions. Added the Now database function, which returns the current date and time. Transform is now a sub ... revert any changes made by previous middleware and return to using the ROOT_URLCONF . The DISALLOWED_USER_AG ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 5051
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mplate. モデル ¶ New QuerySet.contains(obj) method returns whether the queryset contains the given object. T ... calar values on SQLite. QuerySet.bulk_update() now returns the number of objects updated. The new Expression ... t_set_value attribute allows specifying a value to return when the function is used over an empty result set ... uilt-in aggregates allows specifying a value to be returned when the queryset (or grouping) contains no entr ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
Simple mixins — Django 4.0.6 ドキュメント 5018
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... itle' }) メソッド get_context_data ( ** kwargs ) ¶ Returns a dictionary representing the template context. T ... he keyword arguments provided will make up the returned context. Example usage: def get_context_data ( s ... text [ 'number' ] = random . randrange ( 1 , 100 ) return context The template context of all class-based ge ... engines. response_class ¶ The response class to be returned by render_to_response method. Default is Templat ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
Form fields — Django 4.0.6 ドキュメント 5018
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... jango.core.exceptions.ValidationError exception or returns the clean value: >>> from django import forms >>> ... you pass clean() an empty value, then clean() will return a normalized empty value rather than raising Valid ... ationError . For CharField , this will return empty_value which defaults to an empty string. For ... u don't specify widget . We also specify the value returned when you provide an empty value (see the section ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
フォームとフィールドの検証 — Django 4.0.6 ドキュメント 5018
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... callable object or function that takes a value and returns nothing if the value is valid or raises a Validat ... ue ): """Normalize data to a list of strings.""" # Return an empty list if no input was given. if not value ... : return [] return value . split ( ',' ) def validate ( sel ... rror ( "You have forgotten about Fred!" ) # Always return a value to use as the new cleaned data, even if # ...
https://man.plustar.jp/django/ref/forms/validation.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 5018
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... line = models . TextField () def __str__ ( self ): return self . name class Author ( models . Model ): name ... ail = models . EmailField () def __str__ ( self ): return self . name class Entry ( models . Model ): blog = ... IntegerField ( default = 5 ) def __str__ ( self ): return self . headline オブジェクトを作成する ¶ データベー ... はり同じクエリのモデルクラスの属性の MultipleObjectsReturned 例外が起こります。 その他の QuerySet メソッド ¶ ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 NEXT