per page, with , order by , clip by
Results of 1 - 10 of about 86 for module (0.008 sec.)
索引 16373
索引 記号 | _ | 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 コマン ... のクラス) aggregate() (django.db.models.query.QuerySet モジュール) ahas_key() (backends.base.SessionBase のメソッド) ahas_module_perms() (ModelBackend のメソッド) (models.User のメソッド) ahas_perm() (BaseBackend のメソッド) (ModelBackend のメソッド) ... migrations sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject test testserver version django.apps module django.conf.settings.configure() built-in function django.conf.urls module django.conf.urls.i18n module django.contrib.adm ... in module django.contrib.admin.sites.all_sites (django.contrib.admin モジュール) django.contrib.admindocs module django.contrib.auth ...
https://man.mtool.work/django/6.1/genindex.html
Djangoの設定 10659
Djangoの設定 Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利用できるか説明していきます。 基礎 設定ファイルはモジュールレベルの変数が記述された、ただのPyt ... SETTING = [ str ( i ) for i in range ( 30 )] 他の設定ファイルから値を import できます。 設定ファイルの指定 DJANGO_SETTINGS_MODULE Django を使うとき、どの設定を使うかを Django に伝える必要があります。そのためには環境変数 DJANGO_SETTINGS_MODULE を使います ... 。 The value of DJANGO_SETTINGS_MODULE should be in Python path syntax, e.g. mysite.settings . Note that the settings module should be on the Python sys.path . d ... 指定しておくか、ユーティリティを起動する度に設定モジュールを明示的に渡します。 例 (Unix Bash シェル): export DJANGO_SETTINGS_MODULE = mysite.settings django-admin runserver 例 (Windows シェル): set DJANGO_SETTINGS_MODULE=mysite.settings django-admin runs ...
https://man.mtool.work/django/6.1/topics/settings.html
Unit tests 9877
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 ... nning all the tests for details on installing the optional test dependencies. Running the tests requires a Django settings module that defines the databases to use. To help you get started, Django provides and uses a sample settings module that uses th ... e SQLite database. See Using another settings module to learn how to use a different settings module to run the tests with a different database. Having problems? See トラブルシ ... ests.py can also be passed to tox by prefixing the argument list with -- , as above. Tox also respects the DJANGO_SETTINGS_MODULE environment variable, if set. For example, the following is equivalent to the command above: $ DJANGO_SETTINGS_MODULE = my ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Coding style 9231
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... elines. If you need to have imports out of order (to avoid a circular import, for example) use a comment like this: import module # isort:skip Put imports in these groups: future, standard library, third-party libraries, other Django components, local ... Django component, try/excepts. Sort lines in each group alphabetically by the full module name. Place all import module statements before from module import objects in each section. Use absolute imports for other ... r the last import and put the closing parenthesis on its own line. Use a single blank line between the last import and any module level code, and use two blank lines above the first function or class. For example (comments are for explanatory purposes ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Django の機能廃止のタイムライン 8584
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... ) methods will be removed. The undocumented django.utils.itercompat.is_iterable() function and the django.utils.itercompat module will be removed. The django.contrib.gis.geoip2.GeoIP2.coords() method will be removed. The django.contrib.gis.geoip2.GeoIP ... emoved. 3.0 See the Django 2.0 release notes for more details on these changes. The django.db.backends.postgresql_psycopg2 module will be removed. django.shortcuts.render_to_response() will be removed. The DEFAULT_CONTENT_TYPE setting will be removed. ... stomUser() decorator will be removed. The GeoManager and GeoQuerySet classes will be removed. The django.contrib.gis.geoip module will be removed. The supports_recursion check for template loaders will be removed from: django.template.engine.Engine.fin ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django を uWSGI とともに使うには? 8233
Django を uWSGI とともに使うには? uWSGI は高速かつ自己回復的、開発者やシステム管理者にとって使いやすいアプリケーションコンテナサーバーで、純粋な C 言語で記述されています。 参考 uWSGI のドキュメントは、Django、nginx および uWSGI をカバーした ... ocumentation を参照してください。 以下はuWSGIサーバーを起動するコマンドの例です: uwsgi --chdir = /path/to/your/project \ --module = mysite.wsgi:application \ --env DJANGO_SETTINGS_MODULE = mysite.settings \ --master --pidfile = /tmp/project-master.pid ... です: chdir : Python のインポートパス上で必要になるディレクトリへのパス -- つまり mysite パッケージを含むディレクトリです。 module : 使われる WSGI モジュール -- 通常は startproject によって生成される mysite.wsgi モジュールです。 env : 少なくとも DJANGO_ ... SETTINGS_MODULE を含む必要があります。 home : プロジェクトの仮想環境へのパスを指定します。 ini 設定ファイルの例: [uwsgi] chdir = /path/to/ ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/uwsgi.html
Django 1.8 リリースノート 8233
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... ックして、サイトのセキュリティを向上させる方法を探すことができます。 New PostgreSQL specific functionality Django now has a module with extensions for PostgreSQL specific features, such as ArrayField , HStoreField , 範囲フィールド , and unaccent lookup. ... ithin TestCase is now performed once for the whole TestCase . マイナーな機能 django.contrib.admin ModelAdmin now has a has_module_permission() method to allow limiting access to the module on the admin index page. InlineModelAdmin now has an attribute ... now parsed in model docstrings. django.contrib.auth 権限チェックを短縮するために、認証バックエンドが has_perm() および has_module_perms() で PermissionDenied を発生させられるようになりました。 PasswordResetForm now has a method send_mail() that can be ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.7 リリースノート 7802
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... ghtly linked to models. A singleton known as the "app cache" dealt with both installed applications and models. The models module was used as an identifier for applications in many APIs. As the concept of Django applications matured, this code showed s ... ome shortcomings. It has been refactored into an "app registry" where models modules no longer have a central role and where it's possible to attach configuration data to applications. Improvements thus far ... ト If you're using Django in a plain Python script — rather than a management command — and you rely on the DJANGO_SETTINGS_MODULE environment variable, you must now explicitly initialize Django at the beginning of your script with: >>> import django >> ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.5 リリースノート 7654
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! 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.4 or older versions. We'v ... n no longer used As explained below , Django 1.5 deprecates django.utils.simplejson in favor of Python 2.6's built-in json module. In theory, this change is harmless. Unfortunately, because of incompatibilities between versions of simplejson , it may t ... rigger errors in some circumstances. JSON-related features in Django 1.4 always used django.utils.simplejson . This module was actually: A system version of simplejson , if one was available (i.e. import simplejson works), if it was more recent ... than Django's built-in copy or it had the C speedups, or The json module from the standard library, if it was available (i.e. Python 2.6 or greater), or A built-in copy of version 2.0.7 of simple ...
https://man.mtool.work/django/6.1/releases/1.5.html
Porting your apps from Django 0.96 to 1.0 7587
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... ) ビュー Use django.forms instead of newforms Replace django.newforms with django.forms -- Django 1.0 renamed the newforms module (introduced in 0.96) to plain old forms . The oldforms module was also removed. If you're already using the newforms libra ... any registered signal handlers. Connect, disconnect, and send signals via methods on the Signal object instead of through module methods in django.dispatch.dispatcher . Remove any use of the Anonymous and Any sender options; they no longer exist. You ... ture. 設定 Better exceptions The old EnvironmentError has split into an ImportError when Django fails to find the settings module and a RuntimeError when you try to reconfigure settings after having already used them. LOGIN_URL has moved The LOGIN_URL ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
PREV 1 2 3 4 5 6 7 8 9 NEXT