検索

phrase: max: clip:
target: order:
Results of 111 - 120 of about 189 for return (0.084 sec.)
The "sites" framework — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... checking if the sites framework is installed, and return a RequestSite instance if it is not. If you don't ... he current site is cached, and any subsequent call returns the cached data instead of hitting the database. ... nager () With this model, Photo.objects.all() will return all Photo objects in the database, but Photo.on_si ... te.all() will return only the Photo objects associated with the current ...
https://man.plustar.jp/django/ref/contrib/sites.html - [similar]
マイグレーション操作 — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... escribe what the operation does in console output. return "Custom Operation" @property def migration_name_fr ... taining this operation, or None if not applicable. return "custom_operation_ %s _ %s " % ( self . arg1 , sel ... ENSION %s " % self . name ) def describe ( self ): return "Creates extension %s " % self . name @property de ... f migration_name_fragment ( self ): return "create_extension_ %s " % self . name 目次 マイグレ ...
https://man.plustar.jp/django/ref/migration-operations.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... l() now requires an additional params argument and returns a tuple of SQL and parameters instead of an SQL s ... cking if the user has the "change" permissions and returning the default form if not: class MyAdmin ( admin ... ot self . has_change_permission ( request , obj ): return super () . get_form ( request , obj , ** kwargs ) ... () and the is_password_usable() function no longer return False if the password is None or an empty string, ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
Django 2.2 リリースノート — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... names that DatabaseIntrospection.get_constraints() returns must be normalized by identifier_converter() . SQ ... erty class A : @cached_property def base ( self ): return ... alias = base alias is not cached. Where the pr ... gth header to a string rather than an integer. The return value of django.utils.text.slugify() is no longer ... ved. django.utils.http.urlsafe_base64_encode() now returns a string instead of a bytestring, and django.util ...
https://man.plustar.jp/django/releases/2.2.html - [similar]
モデル — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... arField ( max_length = 128 ) def __str__ ( self ): return self . name class Group ( models . Model ): name = ... n , through = 'Membership' ) def __str__ ( self ): return self . name class Membership ( models . Model ): p ... s . DateField () def baby_boomer_status ( self ): "Returns the person's baby-boomer status." import datetime ... f . birth_date < datetime . date ( 1945 , 8 , 1 ): return "Pre-boomer" elif self . birth_date < datetime . d ...
https://man.plustar.jp/django/topics/db/models.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 4887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... stFactory , with the only difference being that it returns ASGIRequest instances rather than WSGIRequest ins ... kwargs ): kwargs [ 'environment' ] = 'Production' return super () . get_context_data ( ** kwargs ) You may ... modules listed in test_labels . This method should return the number of tests that failed. classmethod Disco ... discovered in the modules listed in test_labels . Returns a TestSuite instance ready to be run. DiscoverRun ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
Lookup API reference — Django 4.0.6 ドキュメント 4854
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... up_name will be used. get_lookup ( lookup_name ) ¶ Returns the Lookup named lookup_name registered in the cl ... if any has a registered lookup named lookup_name , returning the first match. get_lookups () ¶ Returns a dic ... e Lookup class. get_transform ( transform_name ) ¶ Returns a Transform named transform_name . The default im ... as the registered transform named transform_name , returning the first match. For a class to be a lookup, it ...
https://man.plustar.jp/django/ref/models/lookups.html - [similar]
Django 1.10.2 release notes — Django 4.0.6 ドキュメント 4854
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... atabase validation where SELECT @@sql_mode doesn't return a result ( #27180 ). Allowed combining contrib.pos ...
https://man.plustar.jp/django/releases/1.10.2.html - [similar]
多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 4854
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ail = models . EmailField () def __str__ ( self ): return " %s %s " % ( self . first_name , self . last_name ... _delete = models . CASCADE ) def __str__ ( self ): return self . headline class Meta : ordering = [ 'headlin ...
https://man.plustar.jp/django/topics/db/examples/many_to_one.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 4854
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ated when your models classes are loaded, and must return an instance of Storage . 例: from django.conf impo ... alStorage , MyRemoteStorage def select_storage (): return MyLocalStorage () if settings . DEBUG else MyRemot ...
https://man.plustar.jp/django/topics/files.html - [similar]
PREV 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 NEXT