Results of 1 - 10 of about 138 for SETTINGS (0.023 sec.)
- Djangoの設定 — Django 4.0.6 ドキュメント 13315
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ら値を import できます。 設定ファイルの指定 ¶ DJANGO_SETTINGS_MODULE ¶ When you use Django, you have to tell it ...
which settings you're using. Do this by using an environment vari ...
able, DJANGO_SETTINGS_MODULE . The value of DJANGO_SETTINGS_MODULE shoul ...
d be in Python path syntax, e.g. mysite.settings . Note that the settings module should be on the P ...
-
https://man.plustar.jp/django/topics/settings.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 11030
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ll be skipped. 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 the SQLite database. See Using an ...
other settings module to learn how to use a different settings mo ...
ult, tox runs the test suite with the bundled test settings file for SQLite, black , flake8 , isort , and the ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- django.core.mail — Django 4.0.6 ドキュメント 8829
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ols for sending email. """ from django.conf import settings # Imported for backwards compatibility and for the ...
instance of it. If backend is None (default), use settings.EMAIL_BACKEND. Both fail_silently and other keywor ...
he backend. """ klass = import_string ( backend or settings . EMAIL_BACKEND ) return klass ( fail_silently = f ...
dmins, as defined by the ADMINS setting.""" if not settings . ADMINS : return if not all ( isinstance ( a , ( ...
-
https://man.plustar.jp/django/_modules/django/core/mail.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 8781
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hich should be a dotted Python path string), or to settings.AUTHENTICATION_BACKENDS[0] if a value isn't provid ...
とができ、言語コードの値は: from django.conf import settings def test_language_using_cookie ( self ): self . cl ...
ient . cookies . load ({ settings . LANGUAGE_COOKIE_NAME : 'fr' }) response = self . ...
rate your test class or test method with @override_settings(ROOT_URLCONF=...) for URLconf configuration. Multi ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 8649
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rtlib import import_module from django.conf import settings from django.core.exceptions import ImproperlyConfi ...
class ConnectionHandler ( BaseConnectionHandler ): settings_name = "DATABASES" # Connections needs to still be ...
can help it. thread_critical = True def configure_settings ( self , databases ): databases = super () . confi ...
gure_settings ( databases ) if databases == {}: databases [ DEFA ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- django — Django 4.0.6 ドキュメント 8649
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
def setup ( set_prefix = True ): """ Configure the settings (this happens as a side effect of accessing the fi ...
om django.apps import apps from django.conf import settings from django.urls import set_script_prefix from dja ...
s.log import configure_logging configure_logging ( settings . LOGGING_CONFIG , settings . LOGGING ) if set_pre ...
fix : set_script_prefix ( "/" if settings . FORCE_SCRIPT_NAME is None else settings . FORCE_ ...
-
https://man.plustar.jp/django/_modules/django.html
- [similar]
- Coding style — Django 4.0.6 ドキュメント 8374
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
( DIRECTION_DOWN , 'Down' ), ] Use of django.conf.settings ¶ Modules should not in general use settings store ...
d in django.conf.settings at the top level (i.e. evaluated when the module i ...
on for this is as follows: Manual configuration of settings (i.e. not relying on the DJANGO_SETTINGS_MODULE en ...
d and possible as follows: from django.conf import settings settings . configure ({}, SOME_SETTING = 'foo' ) H ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/coding-style.h...
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 8338
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ame thing as django-admin but also sets the DJANGO_SETTINGS_MODULE environment variable so that it points to y ...
our project's settings.py file. The django-admin script should be on your ...
での切り替えが必要な場合は、 django-admin を DJANGO_SETTINGS_MODULE もしくは --settings オプションと共に利用して ...
ment environment, but since your local development settings module may not have many of your production settin ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 7979
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
first option to do so is to add the hosts to your settings file. For example, the test suite for docs.djangop ...
sertEqual ( response . status_code , 200 ) and the settings file includes a list of the domains supported by t ...
the required hosts to ALLOWED_HOSTS using override_settings() or modify_settings() . This option may be prefer ...
le in standalone apps that can't package their own settings file or for projects where the list of domains is ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- Django 1.7.11 release notes — Django 4.0.6 ドキュメント 7800
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ecurity issue and a data loss bug in 1.7.10. Fixed settings leak possibility in date template filter ¶ If an a ...
user could obtain any secret in the application's settings by specifying a settings key instead of a date for ...
now only allows accessing the date/time formatting settings. Bugfixes ¶ Fixed a data loss possibility with Pre ...
( #25693 ). 目次 Django 1.7.11 release notes Fixed settings leak possibility in date template filter Bugfixes ...
-
https://man.plustar.jp/django/releases/1.7.11.html
- [similar]