per page, with , order by , clip by
Results of 1 - 10 of about 22 for export (0.011 sec.)
管理アクション — Django 6.1 ドキュメント 12491
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ 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
管理アクション — Django 6.1 ドキュメント 11851
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ 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 のインストール — Django 6.1 ドキュメント 11430
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango のインストール ¶ 概要 ¶ 通常、GeoDjango のインストールには次のものが必要です: Python と Django 空間データベース (Spatial database) 地理空間 ... 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 / ... on を入力したときに新しいバージョンの Python が使われるように、 .profile ファイルの PATH 環境変数を変更する必要があります: export PATH = /Library/Frameworks/Python.framework/Versions/Current/bin: $PATH Postgres.app ¶ Postgres.app is a standalone Postgr ... 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/
GeoDjango のインストール — Django 6.1 ドキュメント 10588
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango のインストール ¶ 概要 ¶ 通常、GeoDjango のインストールには次のものが必要です: Python と Django 空間データベース (Spatial database) 地理空間 ... 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 / ... on を入力したときに新しいバージョンの Python が使われるように、 .profile ファイルの PATH 環境変数を変更する必要があります: export PATH = /Library/Frameworks/Python.framework/Versions/Current/bin: $PATH Postgres.app ¶ Postgres.app is a standalone Postgr ... 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 — Django 6.1 ドキュメント 9528
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... 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...
Unit tests — Django 6.1 ドキュメント 9528
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... 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 とともに使うには? — Django 6.1 ドキュメント 8467
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django を Apache と mod_wsgi とともに使うには? ¶ Apache と mod_wsgi と共にDjangoをデプロイすることは、Djangoを製品とする際に試され、テストされた方法 ... 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
Django を Apache と mod_wsgi とともに使うには? — Django 6.1 ドキュメント 8467
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django を Apache と mod_wsgi とともに使うには? ¶ Apache と mod_wsgi と共にDjangoをデプロイすることは、Djangoを製品とする際に試され、テストされた方法 ... 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 — Django 6.1 ドキュメント 7844
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up 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
How to release Django — Django 6.1 ドキュメント 7844
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up 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
PREV 1 2 3 NEXT