Results of 121 - 130 of about 189 for return (0.089 sec.)
- タイムゾーン — Django 4.0.6 ドキュメント 4854
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
neInfo ( tzname )) else : timezone . deactivate () return self . get_response ( request ) カレントタイムゾー ...
django_timezone' ] = request . POST [ 'timezone' ] return redirect ( '/' ) else : return render ( request , ...
ef one_year_before ( value ): # Wrong example. ... return value . replace ( year = value . year - 1 ) >>> on ...
django.utils.timezone.now() useful. This function returns the current date and time as a naive datetime whe ...
-
https://man.plustar.jp/django/topics/i18n/timezones.html
- [similar]
- Django の概要 — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
harField ( max_length = 70 ) def __str__ ( self ): return self . full_name class Article ( models . Model ): ...
_delete = models . CASCADE ) def __str__ ( self ): return self . headline モデルのインストール ¶ 次に、データ ...
text = { 'year' : year , 'article_list' : a_list } return render ( request , 'news/year_archive.html' , cont ...
-
https://man.plustar.jp/django/intro/overview.html
- [similar]
- PostgreSQL specific query expressions — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the queryset, which must use QuerySet.values() to return only a single column. This class differs from Arra ...
-
https://man.plustar.jp/django/ref/contrib/postgres/expressions.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using de ...
ngth = 200 ), blank = True ) def __str__ ( self ): return self . name contains ¶ The contains lookup is over ...
ridden on ArrayField . The returned objects will be those where the values passed ar ...
s the inverse of the contains lookup - the objects returned will be those where the data is a subset of the ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
andler during fixture loading if kwargs [ 'raw' ]: return ... post_save . connect ( my_handler , sender = My ...
apper ( * args , ** kwargs ): if kwargs [ 'raw' ]: return signal_handler ( * args , ** kwargs ) return wrapp ...
data' , exclude = [ 'contenttypes' , 'auth' ]) The return value of the call_command() function is the same a ...
s the return value of the handle() method of the command. Outpu ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- Django 1.10.4 release notes — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
aleMiddleware from redirecting on URLs that should return 404 when using prefix_default_language=False ( #27 ...
-
https://man.plustar.jp/django/releases/1.10.4.html
- [similar]
- Django 1.11.4 リリースノート — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ables ( #28174 ). Corrected Field.has_changed() to return False for disabled form fields: BooleanField , Mul ...
-
https://man.plustar.jp/django/releases/1.11.4.html
- [similar]
- 多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
eta : ordering = [ 'title' ] def __str__ ( self ): return self . title class Article ( models . Model ): hea ...
: ordering = [ 'headline' ] def __str__ ( self ): return self . headline What follows are examples of opera ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_many.html
- [similar]
- メールを送信する — Django 4.0.6 ドキュメント 4821
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, [ 'admin@example.com' ]) except BadHeaderError : return HttpResponse ( 'Invalid header found.' ) return Ht ...
se a form class # to get proper validation errors. return HttpResponse ( 'Make sure all fields are entered a ...
of recipients will not raise an exception. It will return 1 if the message was sent successfully, otherwise ...
-
https://man.plustar.jp/django/topics/email.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 4788
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
This file only contains one layer 1 layer_count ¶ Returns the number of layers in the data source. name ¶ R ...
n the variable layer : >>> layer = ds [ 0 ] name ¶ Returns the name of this layer in the data source. >>> la ...
yer . name 'cities' num_feat ¶ Returns the number of features in the layer. Same as len( ...
layer) : >>> layer . num_feat 3 geom_type ¶ Returns the geometry type of the layer, as an OGRGeomType ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]