検索

phrase: max: clip:
target: order:
Results of 141 - 150 of about 239 for example (0.091 sec.)
How to override templates — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ut needing to reimplement the entire template. For example, you can use this technique to add a custom logo t ... k .super }} {% endblock %} Key points to note: The example creates a file at templates/admin/base_site.html t ...
https://man.plustar.jp/django/howto/overriding-templates.html - [similar]
GeoDjango Tutorial — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... as type information for each attribute field. For example, FIPS: String (2.0) indicates that the FIPS charac ... to further define how the model is generated. For example, the following command nearly reproduces the World ... Django adds spatial lookups to the Django ORM. For example, you can find the country in the WorldBorder table ... in a different coordinate system. In the following example, coordinates will be expressed in EPSG SRID 32140 ...
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... responding admin.py . カスタマイズ例 ¶ Below is an example models.py file with all the changes you'll need to ... ptions have all been moved to admin.py . Here's an example: Old (0.96): class Parent ( models . Model ): ... ... od. This is no longer the case, so any fields (for example: timestamps) that were auto-populated by a save() ... es in your code now need to use call_command . For example, if you have some test code that calls flush and l ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django 3.0 リリースノート — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... embers. See Enumeration types for more details and examples. マイナーな機能 ¶ django.contrib.admin ¶ Added su ... Subclassing the built-in database backends for an example. Request と Response ¶ Allowed HttpResponse to be ... itialized with memoryview content. For use in, for example, Django templates, HttpRequest.headers now allows ... od or QuerySet.filter(pk=…).update(…) instead. For example: >>> MyModel . objects . update_or_create ( pk = e ...
https://man.plustar.jp/django/releases/3.0.html - [similar]
一対一 (one-to-one) 関係 — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e-to-one relationship, use OneToOneField . In this example, a Place optionally can be a Restaurant : from dja ... self . name , self . restaurant ) What follows are examples of operations that can be performed using the Pyt ... can be assigned to a one-to-one relationship. For example, creating a Restaurant with unsaved Place raises V ...
https://man.plustar.jp/django/topics/db/examples/one_to_one.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 4567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng a paginate_by attribute to your view class, for example: from django.views.generic import ListView from my ... v > Using Paginator in a view function ¶ Here's an example using Paginator in a view function to paginate a q ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
mixinを編集する — Django 4.0.6 ドキュメント 4526
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... polated against the object's field attributes. For example, you could use success_url="/polls/{slug}/" to red ... polated against the object's field attributes. For example, you could use success_url="/parent/{parent_id}/" ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
Deploying GeoDjango — Django 4.0.6 ドキュメント 4526
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s, use an appropriate configuration of Apache. For example, when configuring your application with mod_wsgi , ...
https://man.plustar.jp/django/ref/contrib/gis/deployment.html - [similar]
PostgreSQL specific form fields and widgets — Django 4.0.6 ドキュメント 4526
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to process the submitted data and validate it. For example: >>> from django import forms >>> from django.cont ... nly allowed at the end, and will be stripped. Some examples: SplitArrayField ( IntegerField ( required = True ... Takes a single "compressed" value of a field, for example a DateRangeField , and returns a tuple representin ...
https://man.plustar.jp/django/ref/contrib/postgres/forms.html - [similar]
Built-in Views — Django 4.0.6 ドキュメント 4526
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sing a real front-end web server). The most likely example is user-uploaded content in MEDIA_ROOT . django.co ... o, it may be handled by a component of Django (for example resetting the session data). If not specifically h ...
https://man.plustar.jp/django/ref/views.html - [similar]