Results of 61 - 70 of about 238 for data (0.046 sec.)
- Advanced testing topics — Django 4.0.6 ドキュメント 5551
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
template_name = 'myapp/home.html' def get_context_data ( self , ** kwargs ): kwargs [ 'environment' ] = ' ...
Production' return super () . get_context_data ( ** kwargs ) You may directly test the get_contex ...
t_data() method by first instantiating the view, then pas ...
w . setup ( request ) context = view . get_context_data () self . assertIn ( 'environment' , context ) Tes ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- Generic display ビュー — Django 4.0.6 ドキュメント 5520
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
get_object() get_context_object_name() get_context_data() get() render_to_response() Example myapp/views.p ...
ew ( DetailView ): model = Article def get_context_data ( self , ** kwargs ): context = super () . get_con ...
text_data ( ** kwargs ) context [ 'now' ] = timezone . now ( ...
t_queryset() get_context_object_name() get_context_data() get() render_to_response() Example views.py : fr ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-display.html
- [similar]
- Django 1.6.6 release notes — Django 4.0.6 ドキュメント 5520
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ince stat() may invoke IO, this may produce a huge data-dependent slowdown that slowly worsens over time. ...
e now logs the user out on a failed login attempt. Data leakage via query string manipulation in contrib.a ...
ns of Django it was possible to reveal any field's data by modifying the "popup" and "to_field" parameters ...
nge form pages in the first place, this could leak data if you rely on users having access to view only ce ...
-
https://man.plustar.jp/django/releases/1.6.6.html
- [similar]
- Django 3.0.7 リリースノート — Django 4.0.6 ドキュメント 5520
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
つかのバグを修正しました。 CVE-2020-13254: Potential data leakage via malformed memcached keys ¶ In cases wh ...
eys could result in a key collision, and potential data leakage. In order to avoid this vulnerability, key ...
ngo 3.0.7 リリースノート CVE-2020-13254: Potential data leakage via malformed memcached keys CVE-2020-1359 ...
, values , queryset , key , malformed , leakage , data クイック検索 Last update: 2022年6月01日 « previous ...
-
https://man.plustar.jp/django/releases/3.0.7.html
- [similar]
- GeoDjango Model API — Django 4.0.6 ドキュメント 5479
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ication [1] . There is no such standard for raster data. GeometryField ¶ class GeometryField ¶ The base cl ...
ojection system that will be used to interpret the data in the spatial database. [3] Projection systems gi ...
specific applications, e.g., if you know that your database will only cover geometries in North Kansas , t ...
GeometryField.geography keyword so that geography database type is used instead. Additional Resources: sp ...
-
https://man.plustar.jp/django/ref/contrib/gis/model-api.html
- [similar]
- django.core.files.base — Django 4.0.6 ドキュメント 5408
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
eError , UnsupportedOperation ): pass while True : data = self . read ( chunk_size ) if not data : break y ...
ield data [ドキュメント] def multiple_chunks ( self , chunk_ ...
n self def close ( self ): pass def write ( self , data ): self . __dict__ . pop ( "size" , None ) # Clear ...
the computed size. return self . file . write ( data ) def endswith_cr ( line ): """Return True if line ...
-
https://man.plustar.jp/django/_modules/django/core/files/base.html
- [similar]
- Django 1.4.9 release notes — Django 4.0.6 ドキュメント 5408
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
curity-related bug in the 1.4 series and one other data corruption bug. Readdressed denial-of-service via ...
ing the key on every iteration. Bugfixes ¶ Fixed a data corruption bug with datetime_safe.datetime.combine ...
g , Bugfixes , passwords , hashers , Readdressed , data , corruption クイック検索 Last update: 2022年6月01 ...
-
https://man.plustar.jp/django/releases/1.4.9.html
- [similar]
- モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 5367
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
んでおいた方がよいでしょう。 このリファレンスでは、 database query guide で提供された example blog models を ...
that instantiating a model in no way touches your database; for that, you need to save() . 注釈 __init__ ...
. field >>> obj . field # Loads the field from the database Model. refresh_from_db ( using = None , fields ...
his point obj.val is still 1, but the value in the database # was updated to 2. The object's updated value ...
-
https://man.plustar.jp/django/ref/models/instances.html
- [similar]
- How to create CSV output — Django 4.0.6 ドキュメント 5327
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ttachment; filename="somefilename.csv"' }, ) # The data is hard-coded here, but you could load it from a d ...
atabase or # some other source. csv_data = ( ( 'First row' , 'Foo' , 'Bar' , 'Baz' ), ( 'Se ...
r . get_template ( 'my_template_name.txt' ) c = { 'data' : csv_data } response . write ( t . render ( c )) ...
template_name.txt を作成しましょう。 {% for row in data %} " {{ row.0 | addslashes }} ", " {{ row.1 | adds ...
-
https://man.plustar.jp/django/howto/outputting-csv.html
- [similar]
- mixinを編集する — Django 4.0.6 ドキュメント 5296
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
generated form. get_initial () ¶ Retrieve initial data for the form. By default, returns a copy of initia ...
() . If the request is a POST or PUT , the request data ( request.POST and request.FILES ) will also be pr ...
providing the invalid form as context. get_context_data ( ** kwargs ) ¶ Calls get_form() and adds the resu ...
lt to the context data with the name 'form'. ModelFormMixin ¶ class djang ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html
- [similar]