per page, with , order by , clip by
Results of 1 - 10 of about 65 for Command (0.008 sec.)
django-admin と manage.py 11308
django-admin と manage.py django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り説明します。 さらに、 manage.py は各 Django プロジェクト内に自動的に作成されます。 jango-admi ... min を使用しますが、実行例は全て manage.py もしくは python -m django でも同様に利用可能です。 使い方 /  $ django-admin <command> [ options ] $ manage.py <command> [ options ] $ python -m django <command> [ options ] ...\> django-admin < command > [op ... tions] ...\> manage.py < command > [options] ...\> py -m django < command > [options] command にはこのドキュメントに一覧されたコマンドの1つでなければなりま ... dmin help を実行すると、使用方法の情報と、各アプリケーションが提供するコマンドのリストが表示されます。 django-admin help --commands を実行すると、利用可能な全てのコマンドの一覧が表示されます。 django-admin help <command> を実行すると、与えられたコマンド ...
https://man.mtool.work/django/6.1/ref/django-admin.html
Django 1.8 リリースノート 10964
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... rsion is 3.0 or later. The PostGIS 2 CREATE EXTENSION postgis and the SpatiaLite SELECT InitSpatialMetaData initialization commands are now automatically run by migrate . The GDAL interface now supports retrieving properties of raster (image) data file ... ail() method to make it more subclass friendly. 管理コマンド Database connections are now always closed after a management command called from the command line has finished doing its job. Commands from alternate package formats like eggs are now also di ... Meta.unique_together . It is also able to introspect AutoField for MySQL and PostgreSQL databases. When calling management commands with options using call_command() , the option name can match the command line option name (without the initial dashes) o ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.7 リリースノート 10520
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... as been deprecated and replaced by migrate . Don't worry - calls to syncdb will still work as before. A new makemigrations command provides an easy way to autodetect changes to your models and make migrations for them. django.db.models.signals.pre_syncd ... ble so you can add your own checks for your own apps and libraries. To perform system checks, you use the check management command. This command replaces the older validate management command. New Prefetch object for advanced prefetch_related operations ... e name (e.g. css/styles.55e7cbb9ba48.css ). The staticfiles.json file is created when running the collectstatic management command and should be a less expensive alternative for remote storages such as Amazon S3. See the ManifestStaticFilesStorage docs ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.10 リリースノート 10077
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... HStoreField は key と value を文字列にキャストするようになりました。 django.contrib.sessions The clearsessions management command now removes file-based sessions. django.contrib.sites The Site model now supports natural keys . django.contrib.staticfile ... s translation domain from all installed apps rather than only the JavaScript strings from LOCALE_PATHS . 管理コマンド call_command() now returns the value returned from the command.handle() method. The new check --fail-level option allows specifying the ... message level that will cause the command to exit with a non-zero status. The new makemigrations --check option makes the command exit with a non-zero status when m ...
https://man.mtool.work/django/6.1/releases/1.10.html
カスタム shell コマンドの作り方 9962
カスタム shell コマンドの作り方 Djangoの shell は、モデルと設定へのアクセスを提供する対話型の Python 環境であり、コードのテスト、クエリの実験、アプリケーションデータとのやりとりに役立ちます。 shell コマンドをカスタマイズすることで、機能を追 ... 加したり、特定のモジュールをプリロードしたりできます。そのためには、 django.core.management.commands.shell.Command のサブクラスを作成し、既存の shell 管理コマンドをオーバーライドする新しい管理コマンドを作成します。詳細につ ... ケーションで利用可能なオブジェクトまたはモジュールのインポートパスのシーケンスを返す必要があります。例えば: polls/management/commands/shell.py from django.core.management.commands import shell class Command ( shell . Command ): def get_auto_imports ( self ... てください。自動インポートを恒久的に無効にするには、 get_auto_imports() をオーバーライドして None を返すようにします: class Command ( shell . Command ): def get_auto_imports ( self ): return None ...
https://man.mtool.work/django/6.1/howto/custom-shell.html
ドキュメントを書く 9848
ドキュメントを書く 私たちはドキュメントの一貫性と読みやすさを重要視しています。結局のところ、Django はジャーナリズムの環境で作られました!ですから、私たちはコードを扱うようにドキュメントを扱います。できるだけ頻繁に改善することを目指しています ... -m pip install sphinx-autobuild ...\> py -m pip install sphinx-autobuild From the docs directory, run one of the following commands: On Linux and macOS: $ SPHINXBUILD = sphinx-autobuild SPHINXOPTS = "--open-browser --delay 0" make html On Windows (Comma ... n automatically in CI and must pass before documentation changes can be merged. They can also be run locally with a single command: /  $ make check ...\> make.bat check This command runs all current checks and will include any new checks added in the ... -commit hook if configured. The check can also be run manually: provided that blacken-docs is installed, run the following command from the docs directory: /  $ make black ...\> make.bat black The formatter will report any issues by printing them to ...
https://man.mtool.work/django/6.1/internals/contributing/writing-documentation.h...
カスタム django-admin コマンドの作り方 9733
カスタム django-admin コマンドの作り方 manage.py を用いることで独自のアクションを登録する事ができます。例として、あなたが配布している Django アプリケーションに manage.py アクションを追加したくなったとします。このドキュメントでは、 このチュー ... ル で作成した polls アプリケーションに独自の closepoll コマンドを追加します。 独自のコマンドを追加するためには、 management/commands ディレクトリをアプリケーションに追加してください。Djangoは、そのディレクトリ内のアンダーバーで始まらないPythonモジュールす ... べてを manage.py コマンドに登録します。例えば: polls/ __init__.py models.py management/ __init__.py commands/ __init__.py _private.py closepoll.py tests.py views.py この例では、 closepoll コマンドは polls アプリケーションを INSTAL ... y モジュールは管理コマンドとして利用できません。 closepoll.py モジュールには一つだけ満たすべき要件があります。それは、 BaseCommand クラスもしくはその サブクラス の一つを継承した Command クラスを定義することです。 スタンドアロンのスクリプト カスタム管理コ ...
https://man.mtool.work/django/6.1/howto/custom-management-commands.html
JavaScript code 9289
JavaScript code While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards when writing JavaScript code for inclusion in Django. Code style Please conform to the indenta ... d minimizing overall admin media file size. JavaScript tests Django's JavaScript tests can be run in a browser or from the command line. The tests are located in a top level js_tests directory. テストを書く Django's JavaScript tests use QUnit . Here is ... n the types of assertions supported by QUnit . テストの実行 The JavaScript tests may be run from a web browser or from the command line. Testing from a web browser To run the tests from a web browser, open up js_tests/tests.html in your browser. To meas ... てください。( js_tests の中ではなく) Open http://localhost:8000/js_tests/tests.html in your web browser. Testing from the command line To run the tests from the command line, you need to have Node.js installed. After installing Node.js , install the Ja ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
索引 8960
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... grate コマンドラインオプション optimizemigration コマンドラインオプション --clear collectstatic コマンドラインオプション --command shell コマンドラインオプション --database changepassword コマンドラインオプション check コマンドラインオプション createcac ... ソッド) (GeometryCollection のメソッド) (RelatedManager のメソッド) add_action() (AdminSite のメソッド) add_arguments() (BaseCommand のメソッド) (DiscoverRunner のクラスメソッド) add_constraint() (BaseDatabaseSchemaEditor のメソッド) add_error() (Form のメ ... の属性) app_label (ContentType の属性) (Options の属性) app_name (ResolverMatch の属性) app_names (ResolverMatch の属性) AppCommand (django.core.management のクラス) AppConfig (django.apps のクラス) APPEND_SLASH setting appendlist() (QueryDict のメソッド ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.4 リリースノート 8731
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... t and manage.py Django 1.4 ships with an updated default project layout and manage.py file for the startproject management command. These fix some issues with the previous manage.py handling of Python import paths that caused double imports, trouble mov ... . setdefault ( "DJANGO_SETTINGS_MODULE" , "{{ project_name }}.settings" ) from django.core.management import execute_from_command_line execute_from_command_line ( sys . argv ) {{ project_name }} should be replaced with the Python package name of the ac ... cleaned up when switching to the new manage.py . Custom project and app templates The startapp and startproject management commands now have a --template option for specifying a path or URL to a custom app or project template. For example, Django will u ...
https://man.mtool.work/django/6.1/releases/1.4.html
PREV 1 2 3 4 5 6 7 NEXT