検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 146 for instance (0.066 sec.)
バリデータ — Django 4.0.6 ドキュメント 6784
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... alidate_email ¶ validate_email ¶ An EmailValidator instance without any customizations. validate_slug ¶ valida ... te_slug ¶ A RegexValidator instance that ensures a value consists of only letters, num ... de_slug ¶ validate_unicode_slug ¶ A RegexValidator instance that ensures a value consists of only Unicode lett ... validate_ipv4_address [ソース] ¶ A RegexValidator instance that ensures a value looks like an IPv4 address. v ...
https://man.plustar.jp/django/ref/validators.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 6784
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... r the first method call, you'd get back a QuerySet instance and couldn't call additional custom manager method ... having to worry about the details such as creating instances of django.forms.utils.ErrorList or dealing with F ... orms.utils.ErrorList now store the ValidationError instances so these metadata can be retrieved at any time th ... rors.as_data method. The retrieved ValidationError instances can then be identified thanks to their error code ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 6714
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... UTERS routers = [] for r in self . _routers : if isinstance ( r , str ): router = import_string ( r )() else : ... model , ** hints ) if chosen_db : return chosen_db instance = hints . get ( "instance" ) if instance is not No ... ne and instance . _state . db : return instance . _state . db retu ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 6560
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ssonlymethod ( classmethod ): def __get__ ( self , instance , cls = None ): if instance is not None : raise At ... This method is available only on the class, not on instances." ) return super () . __get__ ( instance , cls ) ... that will be decorated. def _dec ( obj ): if not isinstance ( obj , type ): return _multi_decorate ( decorator ... ware_class ): """ Given a middleware class (not an instance), return a view decorator. This lets you use middl ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 6560
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... but remember - for any configuration of your Field instance, deconstruct() must return arguments that you can ... the field: name , path , args , kwargs = my_field_instance . deconstruct () new_instance = MyField ( * args , ... ** kwargs ) self . assertEqual ( my_field_instance . some_attribute , new_instance . some_attribute ) ... gracefully with any of the following arguments: An instance of the correct type (e.g., Hand in our ongoing exa ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 6490
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oks like a normal Python assignment of value to an instance attribute, in fact it's an SQL construct describin ... eration on the database. When Django encounters an instance of F() , it overrides the standard Python operator ... b () As well as being used in operations on single instances as above, F() can be used on QuerySets of object ... executed, rather than based on its value when the instance was retrieved. F() assignments persist after Model ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
Lookup API reference — Django 4.0.6 ドキュメント 6490
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ) ¶ Must return the lookup named lookup_name . For instance, by returning self.output_field.get_lookup(lookup_ ... Must return the lookup named transform_name . For instance, by returning self.output_field.get_transform(tran ... ned by the get_lookup() method. It must be a Field instance. Transform reference ¶ class Transform ¶ A Transfo ... ss this transformation outputs. It must be a Field instance. By default is the same as its lhs.output_field . ...
https://man.plustar.jp/django/ref/models/lookups.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 6490
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n this example, the cache is shared over Memcached instances running on IP address 172.19.26.240 and 172.19.26 ... lowing example, the cache is shared over Memcached instances running on the IP addresses 172.19.26.240 (port 1 ... e . Set LOCATION to the URL pointing to your Redis instance, using the appropriate scheme. See the redis-py do ... that each process will have its own private cache instance, which means no cross-process caching is possible. ...
https://man.plustar.jp/django/topics/cache.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 6337
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rom django.utils.safestring import SafeString if isinstance ( value , SafeString ): # Do something with the "s ... xcept it only escapes input that is not a SafeData instance. If a SafeData instance is passed to conditional_e ... his: # Here, register is a django.template.Library instance, as before @register . inclusion_tag ( 'results.ht ... the inclusion tag using a django.template.Template instance: from django.template.loader import get_template t ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 6337
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... r multiple database connections in a single Django instance. Model validation inspired by Django's form valida ... nt when you call save() . Model validation ¶ Model instances now have support for validating their own data , ... l be performed explicitly. Simply invoking a model instance's save() method will not perform any validation of ... the instance's data. Improved CSRF protection ¶ Django now has ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT