Results of 1 - 10 of about 122 for raise (0.019 sec.)
- django.core.validators — Django 4.0.6 ドキュメント 13378
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. flags and not isinstance ( self . regex , str ): raise TypeError ( "If the flags are set, regex must be a ...
se_match else not regex_matches if invalid_input : raise ValidationError ( self . message , code = self . c ...
self , value ): if not isinstance ( value , str ): raise ValidationError ( self . message , code = self . c ...
) if self . unsafe_chars . intersection ( value ): raise ValidationError ( self . message , code = self . c ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- django.contrib.gis.measure — Django 4.0.6 ドキュメント 10559
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
urn self . standard / self . UNITS [ name ] else : raise AttributeError ( "Unknown unit type: %s " % name ) ...
( self . standard + other . standard )}, ) else : raise TypeError ( " %(class)s must be added with %(class ...
. standard += other . standard return self else : raise TypeError ( " %(class)s must be added with %(class ...
( self . standard - other . standard )}, ) else : raise TypeError ( " %(class)s must be subtracted from %( ...
-
https://man.plustar.jp/django/_modules/django/contrib/gis/measure.html
- [similar]
- File storage API — Django 4.0.6 ドキュメント 9879
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
will return it if successful. An exception will be raised if the import is unsuccessful. The FileSystemStor ...
注釈 The FileSystemStorage.delete() method will not raise an exception if the given file name does not exist ...
t supported on the target storage system this will raise NotImplementedError instead. exists ( name ) ¶ Ret ...
unable to return the last accessed time this will raise NotImplementedError . If USE_TZ is True , returns ...
-
https://man.plustar.jp/django/ref/files/storage.html
- [similar]
- django.utils.module_loading — Django 4.0.6 ドキュメント 9706
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ute/class designated by the last name in the path. Raise ImportError if the import failed. """ try : module ...
th . rsplit ( "." , 1 ) except ValueError as err : raise ImportError ( " %s doesn't look like a module path ...
path , class_name ) except AttributeError as err : raise ImportError ( 'Module " %s " does not define a " % ...
ve to reoccur on the next request and # this could raise NotRegistered and AlreadyRegistered # exceptions ( ...
-
https://man.plustar.jp/django/_modules/django/utils/module_loading.html
- [similar]
- django.apps.config — Django 4.0.6 ドキュメント 9545
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
"." )[ 2 ] if not self . label . isidentifier (): raise ImproperlyConfigured ( "The app label ' %s ' is no ...
ths = list ( set ( paths )) if len ( paths ) > 1 : raise ImproperlyConfigured ( "The app module %r has mult ...
ttribute." % ( module , paths ) ) elif not paths : raise ImproperlyConfigured ( "The app module %r has no f ...
es = [ repr ( name ) for name , _ in app_configs ] raise RuntimeError ( " %r declares more than one default ...
-
https://man.plustar.jp/django/_modules/django/apps/config.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 9372
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ecuting a management command. If this exception is raised during the execution of a management command, it ...
command_line : super () . error ( message ) else : raise CommandError ( "Error: %s " % message ) def handle ...
nd ``COMMIT``. 4. If ``handle()`` or ``execute()`` raised any exception (e.g. ``CommandError``), ``run_from ...
rr or sys . stderr ) if no_color and force_color : raise CommandError ( "'no_color' and 'force_color' can't ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- django.core.mail.message — Django 4.0.6 ドキュメント 8939
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
al may be lazy if " \n " in val or " \r " in val : raise BadHeaderError ( "Header values can't contain newl ...
pt ( HeaderParseError , ValueError , IndexError ): raise ValueError ( 'Invalid address " %s "' % addr ) els ...
rest : # The entire email address must be parsed. raise ValueError ( 'Invalid address; only %s could be pa ...
\n " in address_parts or " \r " in address_parts : raise ValueError ( "Invalid address; address parts canno ...
-
https://man.plustar.jp/django/_modules/django/core/mail/message.html
- [similar]
- django.utils.http — Django 4.0.6 ドキュメント 8519
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= [] for key , value in query : if value is None : raise TypeError ( "Cannot encode None for key ' %s ' in ...
query_val = [] for item in itr : if item is None : raise TypeError ( "Cannot encode None for key ' %s ' in ...
x . match ( date ) if m is not None : break else : raise ValueError ( " %r is not in a valid HTTP date form ...
( result . timestamp ()) except Exception as exc : raise ValueError ( " %r is not a valid date" % date ) fr ...
-
https://man.plustar.jp/django/_modules/django/utils/http.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 8259
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Wrapper : """ Context manager and decorator that reraises backend-specific database exceptions using Django ...
tyError ): self . wrapper . errors_occurred = True raise dj_exc_value . with_traceback ( traceback ) from e ...
given a fully qualified database backend name, or raise an error if it doesn't exist. """ # This backend w ...
_reprs = map ( repr , sorted ( builtin_backends )) raise ImproperlyConfigured ( " %r isn't an available dat ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- Date-based mixins — Django 4.0.6 ドキュメント 7752
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
pattern. The value of the year GET query argument. Raises a 404 if no valid year specification can be found ...
te provided. This function can also return None or raise an Http404 exception, depending on the values of a ...
te provided. This function can also return None or raise an Http404 exception, depending on the values of a ...
attern. The value of the month GET query argument. Raises a 404 if no valid month specification can be foun ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html
- [similar]