per page, with , order by , clip by
Results of 1 - 10 of about 76 for different (0.004 sec.)
Unit tests 13091
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 ... s and uses a sample settings module that uses the 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 トラブルシューティング for some common is ... sues. Running tests using tox Tox is a tool for running tests in different virtual environments. Django includes a basic tox.ini that automates some checks that our build server performs on pull re ... ttings module ( tests/test_sqlite.py ) allows you to run the test suite using SQLite. If you want to run the tests using a different database, you'll need to define your own settings file. Some tests, such as those for contrib.postgres , are specific to a ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
暗号署名 10722
暗号署名 ウェブアプリケーションのセキュリティの黄金律は、信頼できない情報源からのデータを決して信頼しないことです。時には、信頼されていない媒体を通してデータを渡すことが有用な場合もあります。暗号的に署名された値は、改ざんが検知されることを前 ... dlIjoiSGVsbG8hIn0:-UWSLCE-oUAHzhkHviYz3SOZYBjFKllEOyVZNuUtM-I" ... ) {'message': 'Hello!'} Using salt in this way puts the different signatures into different namespaces. A signature that comes from one namespace (a particular salt value) cannot be used t ... o validate the same plaintext string in a different namespace that is using a different salt setting. The result is to prevent an attacker from using a signed string generate ... d in one place in the code as input to another piece of code that is generating (and verifying) signatures using a different salt. SECRET_KEY とは異なり、salt 引数は秘密にする必要はありません。 タイムスタンプ値の検証 TimestampSigner は Signer のサ ...
https://man.mtool.work/django/6.1/topics/signing.html
Django 1.7 リリースノート 10015
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... _syncdb have been deprecated, to be replaced by pre_migrate and post_migrate respectively. These new signals have slightly different arguments. Check the documentation for details. The allow_syncdb method on database routers is now called allow_migrate , ... plication and define a RunPython or RunSQL operation in the operations section of the migration. Test rollback behavior is different for apps with migrations; in particular, Django will no longer emulate rollbacks on non-transactional databases or inside ... tched relations, calling select_related() from a prefetched relation, or prefetching the same relation multiple times with different querysets. See prefetch_related() for more details. Admin shortcuts support time zones The "today" and "now" shortcuts nex ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 2.2.12 リリースノート 9309
Django 2.2.12 リリースノート April 1, 2020 Django 2.2.12 fixes a bug in 2.2.11. バグ修正 Added the ability to handle .po files containing different plural equations for the same language ( #30439 ). ...
https://man.mtool.work/django/6.1/releases/2.2.12.html
メールを送信する 9309
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... into the new behavior early by adding MAILERS to settings.py . See Migrating email to mailers . Multiple mailers Sometimes different types of email need to be sent in different ways: e.g., internal vs. external email, different SMTP servers for users in d ... ifferent regions, using different services for transactional notifications and bulk marketing email, etc. The MAILERS setting can define multiple mail confi ... Inc." <contact@example.com>' The double quotes around "Example, Inc." are needed so the comma isn't read as separating two different addresses. A fixed address, written out by hand as in the example above, is safe, but composing one from variable parts (e ...
https://man.mtool.work/django/6.1/topics/email.html
JavaScript code 9073
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 ... 4 spaces for indentation, but there are some exceptions. When naming variables, use camelCase instead of underscore_case . Different JavaScript files sometimes use a different code style. Please try to conform to the code style of each file. Use the Biome ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
Django 3.0.5 リリースノート 8838
Django 3.0.5 リリースノート April 1, 2020 Django 3.0.5 では、3.0.4 におけるいくつかのバグを修正しました。 バグ修正 Added the ability to handle .po files containing different plural equations for the same language ( #30439 ). Fixed a regress ...
https://man.mtool.work/django/6.1/releases/3.0.5.html
Django 3.1 リリースノート 8838
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... eField and ImageField now accept a callable for storage . This allows you to modify the used storage at runtime, selecting different storages for different environments, for example. フォーム ModelChoiceIterator , used by ModelChoiceField and ModelMultipl ... te . register ( User , MyUserAdmin ) その他 The cache keys used by cache and generated by make_template_fragment_key() are different from the keys generated by older versions of Django. After upgrading to Django 3.1, the first request to any previously ca ... utils.deprecation.MiddlewareMixin.__init__() is deprecated. The encoding format of cookies values used by CookieStorage is different from the format generated by older versions of Django. Support for the old format remains until Django 4.0. The encoding f ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 1.2.5 リリースノート 8602
Django 1.2.5 リリースノート Django 1.2.5 へようこそ! This is the fifth "bugfix" release in the Django 1.2 series, improving the stability and performance of the Django 1.2 codebase. With four exceptions, Django 1.2.5 maintains backwards com ... s technique, ensuring that you are looking at the documentation for your version of Django, as the exact code necessary is different for some older versions of Django. FileField no longer deletes files In earlier Django versions, when a model instance con ... This opened the door to several potentially serious data-loss scenarios, including rolled-back transactions and fields on different models referencing the same file. In Django 1.2.5, FileField will never delete files from the backend storage. If you need ...
https://man.mtool.work/django/6.1/releases/1.2.5.html
Django's Tasks framework 8367
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... iguring a Task backend The Task backend determines how and where Tasks are stored for execution and how they are executed. Different Task backends have different characteristics and configuration options, which may impact the performance and reliability o ... d in Tasks without additional conversion. トランザクション For most backends, Tasks are run in a separate process, using a different database connection. When using a transaction, without waiting for it to commit, workers could start to process a Task whi ...
https://man.mtool.work/django/6.1/topics/tasks.html
PREV 1 2 3 4 5 6 7 8 NEXT