Results of 1 - 10 of about 85 for init (0.021 sec.)
- django.core.checks.messages — Django 4.0.6 ドキュメント 13890
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
CAL = 50 [ドキュメント] class CheckMessage : def __init__ ( self , level , msg , hint = None , obj = None ...
[ドキュメント] class Debug ( CheckMessage ): def __init__ ( self , * args , ** kwargs ): super () . __init ...
[ドキュメント] class Info ( CheckMessage ): def __init__ ( self , * args , ** kwargs ): super () . __init ...
ドキュメント] class Warning ( CheckMessage ): def __init__ ( self , * args , ** kwargs ): super () . __init ...
-
https://man.plustar.jp/django/_modules/django/core/checks/messages.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 12282
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e signals are sent by various model methods like __init__() or save() that you can override in your own co ...
ular import dependencies and swappable models. pre_init ¶ django.db.models.signals. pre_init ¶ Whenever yo ...
s signal is sent at the beginning of the model's __init__() method. このシグナルとともに送信される引数は以 ...
d. args A list of positional arguments passed to __init__() . kwargs A dictionary of keyword arguments pas ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]
- django.core.files.uploadedfile — Django 4.0.6 ドキュメント 10755
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ata that the user submitted with a form. """ def __init__ ( self , file = None , name = None , content_typ ...
None , content_type_extra = None , ): super () . __init__ ( file , name ) self . size = size self . conten ...
emporary location (i.e. stream-to-disk). """ def __init__ ( self , name , content_type , size , charset , ...
r = settings . FILE_UPLOAD_TEMP_DIR ) super () . __init__ ( file , name , content_type , size , charset , ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html
- [similar]
- How to create custom model fields — Django 4.0.6 ドキュメント 10228
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Hand : """A hand of cards (bridge style)""" def __init__ ( self , north , east , south , west ): # Input ...
固有の引数を共通の引数から分離し、後者を Field の __init__() メソッドに渡すことです。 (または親クラスに対し ...
scription = "A hand of cards (bridge style)" def __init__ ( self , * args , ** kwargs ): kwargs [ 'max_len ...
gth' ] = 104 super () . __init__ ( * args , ** kwargs ) Our HandField accepts mos ...
-
https://man.plustar.jp/django/howto/custom-model-fields.html
- [similar]
- django.utils.functional — Django 4.0.6 ドキュメント 8796
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
without calling " "__set_name__() on it." ) def __init__ ( self , func , name = None ): self . real_func ...
can be accessed directly from the class. """ def __init__ ( self , method = None ): self . fget = method d ...
the result is called. """ __prepared = False def __init__ ( self , args , kw ): self . __args = args self ...
s ): if any ( isinstance ( arg , Promise ) for arg in itertools . chain ( args , kwargs . values ()) ): re ...
-
https://man.plustar.jp/django/_modules/django/utils/functional.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 8526
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_filed will be updated twice in this case. If it's initially 1 , the final value will be 3 . This persiste ...
s)s%(expressions)s )' allow_distinct = False def __init__ ( self , expression , all_values = False , ** ex ...
tra ): super () . __init__ ( expression , all_values = 'ALL ' if all_values ...
er ( length__gt = Subquery ( total_comments )) The initial filter(...) limits the subquery to the relevant ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- django.core.validators — Django 4.0.6 ドキュメント 8431
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= "invalid" inverse_match = False flags = 0 def __init__ ( self , regex = None , message = None , code = ...
s" ] unsafe_chars = frozenset ( " \t\r\n " ) def __init__ ( self , schemes = None , ** kwargs ): super () ...
. __init__ ( ** kwargs ) if schemes is not None : self . sc ...
= 2 , ) self . domain_allowlist = allowlist def __init__ ( self , message = None , code = None , allowlis ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 8337
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Python パッケージとして扱われるようにするため、"__init__.py" を忘れないでください。 Webサーバが自動的にリ ...
ションのレイアウトは以下のようになります: polls / __init__ . py models . py templatetags / __init__ . py po ...
@register . filter ( needs_autoescape = True ) def initial_letter_filter ( text , autoescape = True ): fir ...
e object, the template calls render() on each Node in its node list, with the given context. The results a ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]
- django.core.mail.message — Django 4.0.6 ドキュメント 8080
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
class SafeMIMEText ( MIMEMixin , MIMEText ): def __init__ ( self , _text , _subtype = "plain" , _charset = ...
None ): self . encoding = _charset MIMEText . __init__ ( self , _text , _subtype = _subtype , _charset ...
MIMEMultipart ( MIMEMixin , MIMEMultipart ): def __init__ ( self , _subtype = "mixed" , boundary = None , ...
ms ): self . encoding = encoding MIMEMultipart . __init__ ( self , _subtype , boundary , _subparts , ** _p ...
-
https://man.plustar.jp/django/_modules/django/core/mail/message.html
- [similar]
- django.utils.log — Django 4.0.6 ドキュメント 8080
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ta will be provided in the email report. """ def __init__ ( self , include_html = False , email_backend = ...
None , reporter_class = None ): super () . __init__ () self . include_html = include_html self . ema ...
eter) to decide whether to log a record. """ def __init__ ( self , callback ): self . callback = callback ...
default_time_format = " %d /%b/%Y %H:%M:%S" def __init__ ( self , * args , ** kwargs ): self . style = co ...
-
https://man.plustar.jp/django/_modules/django/utils/log.html
- [similar]