Results of 71 - 80 of about 185 for objects (0.497 sec.)
- Django 3.2 release notes — Django 4.0.6 ドキュメント 5270
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ow support serialization of pure and concrete path objects from pathlib , and os.PathLike instances. モデル ¶ ...
f the original dict-like interface of HttpResponse objects. Both interfaces will continue to be supported. Se ...
re now correctly reloaded in development. テスト ¶ Objects assigned to class attributes in TestCase.setUpTest ...
Data() are now isolated for each test method. Such objects are now required to support creating deep copies w ...
-
https://man.plustar.jp/django/releases/3.2.html
- [similar]
- GeoDjango Tutorial — Django 4.0.6 ドキュメント 5237
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
WORLD_BORDERS-0.3.shp (ESRI Shapefile) Data source objects can have different layers of geospatial features; ...
eorgia South Sandwich Islands 338 Taiwan 363 Layer objects may be sliced: >>> lyr [ 0 : 2 ] [<django.contrib. ...
world.models import WorldBorder >>> WorldBorder . objects . filter ( mpoly__contains = pnt_wkt ) <QuerySet [ ...
nt = Point ( 12.4604 , 43.9420 ) >>> WorldBorder . objects . get ( mpoly__intersects = pnt ) <WorldBorder: Sa ...
-
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html
- [similar]
- The redirects app — Django 4.0.6 ドキュメント 5237
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
trib/redirects/models.py . You can access redirect objects via the Django database API . For example: >>> fro ...
>> # Add a new redirect. >>> redirect = Redirect . objects . create ( ... site_id = 1 , ... old_path = '/cont ...
-details/> >>> # Delete a redirect. >>> Redirect . objects . filter ( site_id = 1 , old_path = '/contact-us/' ...
-
https://man.plustar.jp/django/ref/contrib/redirects.html
- [similar]
- Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 5237
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ces of django.dispatch.Signal instead of anonymous objects. Here's quick summary of the code changes you'll n ...
ception from get() ¶ Managers now return a MultipleObjectsReturned exception instead of AssertionError : Old ...
(0.96): try : Model . objects . get ( ... ) except AssertionError : handle_the_e ...
rror () New (1.0): try : Model . objects . get ( ... ) except Model . MultipleObjectsReturn ...
-
https://man.plustar.jp/django/releases/1.0-porting-guide.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 5237
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ow executing one query regardless of the number of objects being added rather than one query per object. Adde ...
elete() and QuerySet.delete() return the number of objects deleted. Added a system check to prevent defining ...
uch as exact , gt , lt , etc.). For example: Entry.objects.filter(pub_date__month__gt=6) . Time lookups (hour ...
spans. The include tag now caches parsed templates objects during template rendering, speeding up reuse in pl ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 5215
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
able values. For details, see Playing with Context objects below. Template. render ( context ) ¶ Call the Tem ...
if you're using Django templates with Django model objects, any DoesNotExist exception will fail silently. A ...
erated delete() and save() methods on Django model objects get alters_data=True automatically. Example: def s ...
hese variables resolve to the corresponding Python objects. Limitations with string literals ¶ Django's templ ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]
- Unicode data — Django 4.0.6 ドキュメント 5215
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nt locale. For more details about lazy translation objects, refer to the internationalization documentation. ...
hat should make working with string and bytestring objects a bit easier. Conversion functions ¶ The django.ut ...
serves lazy translations, force_str() forces those objects to a string (causing the translation to occur). No ...
all strings are returned from the database as str objects, model fields that are character based (CharField, ...
-
https://man.plustar.jp/django/ref/unicode.html
- [similar]
- ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 5215
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
of all the books context [ 'book_list' ] = Book . objects . all () return context 注釈 通常、 get_context_da ...
t_object_name = 'publisher' queryset = Publisher . objects . all () model = Publisher と指定することは、 quer ...
yset = Publisher.objects.all() と言うことです。しかし、フィルタリングされた ...
class BookListView ( ListView ): queryset = Book . objects . order_by ( '-publication_date' ) context_object_ ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-display.html
- [similar]
- How to create PDF files — Django 4.0.6 ドキュメント 5182
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Django is that the ReportLab API acts on file-like objects, and Django's FileResponse objects accept file-lik ...
e objects. Here's a "Hello World" example: import io from dj ...
-
https://man.plustar.jp/django/howto/outputting-pdf.html
- [similar]
- PostgreSQL specific database functions — Django 4.0.6 ドキュメント 5182
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
postgres.functions import RandomUUID >>> Article . objects . update ( uuid = RandomUUID ()) TransactionNow ¶ ...
gres.functions import TransactionNow >>> Article . objects . filter ( published__lte = TransactionNow ()) <Qu ...
-
https://man.plustar.jp/django/ref/contrib/postgres/functions.html
- [similar]