検索

phrase: max: clip:
target: order:
Results of 61 - 70 of about 359 for from (0.063 sec.)
Django 2.0 リリースノート — Django 4.0.6 ドキュメント 5323
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... できるようになりました。したがって、URLconf の中では from django.urls import include, path, re_path とインポ ... count for the PBKDF2 password hasher is increased from 36,000 to 100,000. django.contrib.gis ¶ Added MySQ ... PostGIS and SpatiaLite. Any GEOSGeometry imported from GeoJSON now has its SRID set. Added the OSMWidget. ... nal virtual filesystem. Rasters can now be created from and converted to binary data in-memory. The new GD ...
https://man.plustar.jp/django/releases/2.0.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 5323
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... をハンドリングするコードが次のようになるとすると、 from django.http import HttpResponse def my_view ( requ ... ' ) クラスベースのビューでは以下のようになります。 from django.http import HttpResponse from django.views ... されていればそのリクエストをリレーします。 # urls.py from django.urls import path from myapp.views import My ... 親クラスが greeting という属性を持っていたとすると、 from django.http import HttpResponse from django.views ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
django-admin と manage.py — Django 4.0.6 ドキュメント 5296
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , -x EXCLUDE ¶ Specifies the locale(s) to exclude from processing. If not provided, no locales are exclud ... h the database cache backend using the information from your settings file. See Django's cache framework f ... ls (specified in the form of app_label.ModelName ) from being dumped. If you specify a model name, then on ... types --database DATABASE ¶ Specifies the database from which data will be dumped. Defaults to default . - ...
https://man.plustar.jp/django/ref/django-admin.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 5269
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g at the schema_editor.connection.alias attribute: from django.db import migrations def forwards ( apps , ... everage this in your migrations, do the following: from django.db import migrations def forwards ( apps , ... in the examples below. Copy the AddField operation from the auto-generated migration (the first of the thr ... py ¶ # Generated by Django A.B on YYYY-MM-DD HH:MM from django.db import migrations , models import uuid c ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
Generic display ビュー — Django 4.0.6 ドキュメント 5242
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... et() render_to_response() Example myapp/views.py : from django.utils import timezone from django.views.gen ... eric.detail import DetailView from articles.models import Article class ArticleDetail ... imezone . now () return context 例 myapp/urls.py : from django.urls import path from article.views import ... ta() get() render_to_response() Example views.py : from django.utils import timezone from django.views.gen ...
https://man.plustar.jp/django/ref/class-based-views/generic-display.html - [similar]
Conditional Expressions — Django 4.0.6 ドキュメント 5242
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng the following model in the subsequent examples: from django.db import models class Client ( models . Mo ... r lookup expressions was added. Some examples: >>> from django.db.models import F , Q , When >>> # String ... > # You can use field lookups in the condition >>> from datetime import date >>> When ( registered_on__gt ... tion can be created using boolean expressions. >>> from django.db.models import Exists , OuterRef >>> non_ ...
https://man.plustar.jp/django/ref/models/conditional-expressions.html - [similar]
Djangoの設定 — Django 4.0.6 ドキュメント 5242
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... OSTS = [ 'www.example.com' ] DEBUG = False DEFAULT_FROM_EMAIL = 'webmaster@example.com' 注釈 もし DEBUG を ... settings をimportすることで設定を参照できます。例: from django.conf import settings if settings . DEBUG : ... トです。そのため個々の設定は別々にimportできません。 from django.conf.settings import DEBUG # This won't wor ... 。例えば、viewの中で以下の実装を行ってはいけません。 from django.conf import settings settings . DEBUG = Tru ...
https://man.plustar.jp/django/topics/settings.html - [similar]
How to authenticate against Django's user database from Apache — Django 4.0.6 ... 5189
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... How to authenticate against Django's user database from Apache ¶ Since keeping multiple authentication dat ... mple, you could: Serve static/media files directly from Apache only to authenticated users. Authenticate a ... assing the user name and password that it receives from the prompt. In this example, the WSGIAuthUserScrip ... n [ 'DJANGO_SETTINGS_MODULE' ] = 'mysite.settings' from django.contrib.auth.handlers.modwsgi import check_ ...
https://man.plustar.jp/django/howto/deployment/wsgi/apache-auth.html - [similar]
GeoDjango Database API — Django 4.0.6 ドキュメント 5189
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... geometry object (assuming the Zipcode model): >>> from zipcode.models import Zipcode >>> z = Zipcode ( co ... cts may also be used to save geometric models: >>> from django.contrib.gis.geos import GEOSGeometry >>> po ... e = 78212 , poly = poly_3084 ) >>> z . save () >>> from django.db import connection >>> print ( connection ... "code", "poly") VALUES (78212, ST_Transform(ST_GeomFromWKB('\\001 ... ', 3084), 4326)) Thus, geometry para ...
https://man.plustar.jp/django/ref/contrib/gis/db-api.html - [similar]
Full text search — Django 4.0.6 ドキュメント 5189
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cipes>] This creates a to_tsvector in the database from the body_text field and a plainto_tsquery from the ... uery against both fields, use a SearchVector : >>> from django.contrib.postgres.search import SearchVector ... learn about differences and syntax. Examples: >>> from django.contrib.postgres.search import SearchQuery ... ombined logically to provide more flexibility: >>> from django.contrib.postgres.search import SearchQuery ...
https://man.plustar.jp/django/ref/contrib/postgres/search.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 NEXT