per page, with , order by , clip by
Results of 1 - 10 of about 11 for export (0.006 sec.)
管理アクション 12856
管理アクション Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当てはまります。しかし、一度に多くのオブジェクトに同じ変更を適用する必要がある場合、この仕事は退 ... くには、Django の シリアライズ関数 を使います: from django.core import serializers from django.http import HttpResponse def export_as_json ( modeladmin , request , queryset ): response = HttpResponse ( content_type = "application/json" ) serializers . s ... を書くことです: from django.contrib.contenttypes.models import ContentType from django.http import HttpResponseRedirect def export_selected_objects ( modeladmin , request , queryset ): selected = queryset . values_list ( "pk" , flat = True ) ct = Conten ... tType . objects . get_for_model ( queryset . model ) return HttpResponseRedirect ( "/export/?ct= %s &ids= %s " % ( ct . pk , "," . join ( str ( pk ) for pk in selected ), ) ) 見ての通り、アクションはとても短いです。 ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
GeoDjango のインストール 11487
GeoDjango のインストール 概要 通常、GeoDjango のインストールには次のものが必要です: Python と Django 空間データベース (Spatial database) 地理空間ライブラリ (Geospatial library) 各要件の詳細とインストール手順については、以下のセクションを参照 ... eds to be included in the LD_LIBRARY_PATH variable. For example, the user could place the following in their bash profile: export LD_LIBRARY_PATH = /usr/local/lib システムライブラリのパスを設定する On GNU/Linux systems, there is typically a file in /et ... on を入力したときに新しいバージョンの Python が使われるように、 .profile ファイルの PATH 環境変数を変更する必要があります: export PATH = /Library/Frameworks/Python.framework/Versions/Current/bin: $PATH Postgres.app Postgres.app is a standalone PostgreS ... ash_profile に以下を追加してください。 X.Y をインストールした Postgres.app の PostgreSQL のバージョンに置き換えてください: export PATH = $PATH :/Applications/Postgres.app/Contents/Versions/X.Y/bin ターミナルプロンプトで which psql と入力して、パスが正し ...
https://man.mtool.work/django/6.1/ref/contrib/gis/install/
Unit tests 10331
Unit tests Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite! The Django tests all use the ... INITIALIZE_FORK_SAFETY environment variable, for example: $ OBJC_DISABLE_INITIALIZE_FORK_SAFETY = YES ./runtests.py Or add export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES to your shell's startup file (e.g. ~/.profile ). Many test failures with UnicodeEn ... et install locales $ dpkg-reconfigure locales You can resolve this for macOS systems by configuring your shell's locale: $ export LANG = "en_US.UTF-8" $ export LC_ALL = "en_US.UTF-8" Run the locale command to confirm the change. Optionally, add those e ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Django を Apache と mod_wsgi とともに使うには? 8962
Django を Apache と mod_wsgi とともに使うには? Apache と mod_wsgi と共にDjangoをデプロイすることは、Djangoを製品とする際に試され、テストされた方法です。 mod_wsgi は、Djangoを含む任意のPythonの WSGI アプリケーションをホストできるApacheのモジ ... odeEncodeError が発生する場合は、Apache が UTF-8 エンコーディングをサポートするように設定されていることを確認してください: export LANG = 'en_US.UTF-8' export LC_ALL = 'en_US.UTF-8' この設定はふつう /etc/apache2/envvars で可能です。 代わりに、 mod_wsgi ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/modwsgi.html
How to release Django 8286
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... f you lack CNA credentials, email cna@djangoproject.com with a request.) Enable virtual environment with cvelib installed. Export user information: $ export CVE_USER = <user-email>@djangoproject.com CVE_ORG = DSF Reserve: $ cve --interactive reserve <q ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
django-admin と manage.py 7823
django-admin と manage.py django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り説明します。 さらに、 manage.py は各 Django プロジェクト内に自動的に作成されます。 jango-admi ... たいパレットを指定します。例えば、UnixやOS/XのBASHシェルで light パレットを指定するには、ターミナルで以下のように実行します: export DJANGO_COLORS = "light" 使用する色をカスタマイズすることもできます。Django は色が使われる役割(ロール)をいくつか指定してい ... てそれぞれの option は色を変更するオプションの一つです。複数の色の指定はセミコロンで区切ります。たとえば以下のようにします: export DJANGO_COLORS = "error=yellow/blue,blink;notice=magenta" これを指定すると、エラーは青地に黄色の点滅で表示され、通知はマゼン ... トを拡張して指定することもできます。色指定にパレット名を入れると、そのパレットが意味するすべての色が読み込まれます。つまり: export DJANGO_COLORS = "light;error=yellow/blue,blink;notice=magenta" これを指定すると、light カラーパレットのすべての色の使用が指 ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 1.1 リリースノート 7823
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... ags for examples of this. The dumpdata management command now accepts individual model names as arguments, allowing you to export the data just from particular models. There's a new safeseq template filter which works just like safe for lists, marking ...
https://man.mtool.work/django/6.1/releases/1.1.html
Djangoの設定 7823
Djangoの設定 Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利用できるか説明していきます。 基礎 設定ファイルはモジュールレベルの変数が記述された、ただのPyt ... う場合、環境変数を予め指定しておくか、ユーティリティを起動する度に設定モジュールを明示的に渡します。 例 (Unix Bash シェル): export DJANGO_SETTINGS_MODULE = mysite.settings django-admin runserver 例 (Windows シェル): set DJANGO_SETTINGS_MODULE=mysite.set ...
https://man.mtool.work/django/6.1/topics/settings.html
Unicode データ 7592
Unicode データ Django はどこでも Unicode データをサポートしています。 この文書は、ASCII以外のエンコーディングでデータやテンプレートを使用するアプリケーションを書く場合に、知っておくべきことを説明します。 データベースの作成 データベースが任意 ... _wsgi とともに使うには? を参照してください。 開発環境では、 ~/.bashrc に次のような設定を追加する必要があるかもしれません。 export LANG = "en_US.UTF-8" フォームの送信 HTML フォームの送信は、難しい領域です。送信がエンコーディング情報を含むとは限らず、それ ...
https://man.mtool.work/django/6.1/ref/unicode.html
GEOS API 7361
GEOS API 背景 GEOS とは? GEOS stands for Geometry Engine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS ... 23 ) >>> print ( pnt . srid ) None >>> pnt . srid = 4326 >>> pnt . srid 4326 出力プロパティ The properties in this section export the GEOSGeometry object into a different. This output may be in the form of a string, buffer, or even another object. GEOS ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geos.html
PREV 1 2 NEXT