Results of 11 - 20 of about 166 for setting (0.040 sec.)
- Django's cache framework — Django 4.0.6 ドキュメント 7734
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ns a few of the design decisions of the framework. Setting up the cache ¶ The cache system requires a small a ...
n others. Your cache preference goes in the CACHES setting in your settings file. Here's an explanation of al ...
nning either locally or on a remote machine. After setting up the Redis server, you'll need to install Python ...
re cached data in /var/tmp/django_cache , use this setting: CACHES = { 'default' : { 'BACKEND' : 'django.core ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 7575
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
注釈 In order to send email, Django requires a few settings telling it how to connect to your mail server. At ...
L_HOST_USER and EMAIL_HOST_PASSWORD , though other settings may be also required depending on your mail serve ...
r's configuration. Consult the Django settings documentation for a full list of email-related se ...
different sender address, modify the SERVER_EMAIL setting. To activate this behavior, put the email addresse ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]
- Django Deprecation Timeline — Django 4.0.6 ドキュメント 7530
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
more details on these changes. The SERIALIZE test setting will be removed. The undocumented django.utils.bas ...
e will be removed. The default value of the USE_TZ setting will change from False to True . The default sitem ...
ead of [] , [] , and '' respectively. The USE_L10N setting will be removed. The USE_DEPRECATED_PYTZ transitio ...
nal setting will be removed. Support for pytz timezones will b ...
-
https://man.plustar.jp/django/internals/deprecation.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 7155
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= "__main__" : os . environ . setdefault ( "DJANGO_SETTINGS_MODULE" , "{{ project_name }}.settings" ) from dj ...
the Python package name of the actual project. If settings, URLconfs and apps within the project are importe ...
nced using the project name prefix (e.g. myproject.settings , ROOT_URLCONF = "myproject.urls" , etc.), the ne ...
utside the project package rather than adjacent to settings.py and urls.py . For instance, with the following ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 1.7 release notes — Django 4.0.6 ドキュメント 6792
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
od may be overridden to define custom behavior for setting initial change form data. django.contrib.auth ¶ An ...
SESSION_COOKIE_SECURE and SESSION_COOKIE_HTTPONLY settings. The messages context processor now adds a dictio ...
trib.sites.middleware.CurrentSiteMiddleware allows setting the current site on each request. django.contrib.s ...
collected static files and directories receive by setting the file_permissions_mode and directory_permission ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- Unicode data — Django 4.0.6 ドキュメント 6735
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
fooled into thinking that if your DEFAULT_CHARSET setting is set to something other than 'utf-8' you can use ...
s. The reason for this is that the DEFAULT_CHARSET setting is not actually under your control (if you are the ...
lication -- and if that person chooses a different setting, your code must still continue to work. Ergo, it c ...
annot rely on that setting. In most cases when Django is dealing with strings ...
-
https://man.plustar.jp/django/ref/unicode.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 6689
- " + 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 ...
your project's settings.py file. The django-admin script should be on you ...
での切り替えが必要な場合は、 django-admin を DJANGO_SETTINGS_MODULE もしくは --settings オプションと共に利用し ...
onal checks that are only relevant in a deployment setting. You can use this option in your local development ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 6689
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
supported. You can simulate a # logged-in user by setting request.user manually. request . user = self . use ...
r # Or you can simulate an anonymous user by setting request.user to # an AnonymousUser instance. reque ...
Tests and multiple host names ¶ The ALLOWED_HOSTS setting is validated when running tests. This allows the t ...
first option to do so is to add the hosts to your settings file. For example, the test suite for docs.django ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 6576
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
adable "verbose" name for the website. The SITE_ID setting specifies the database ID of the Site object assoc ...
iated with that particular settings file. If the setting is omitted, the get_current_ ...
being called. For example: from django.conf import settings def my_view ( request ): if settings . SITE_ID == ...
model's manager. You should then ensure that your settings file does contain the SITE_ID setting. This examp ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- Django 2.1 リリースノート — Django 4.0.6 ドキュメント 6576
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntrib.sessions ¶ Added the SESSION_COOKIE_SAMESITE setting to set the SameSite cookie flag on session cookies ...
になりました。 CSRF ¶ Added the CSRF_COOKIE_SAMESITE setting to set the SameSite cookie flag on CSRF cookies. フ ...
so that the standard options like --verbosity or --settings appear last in the help output, giving a more pro ...
ite argument to HttpResponse.set_cookie() to allow setting the SameSite cookie flag. The new as_attachment ar ...
-
https://man.plustar.jp/django/releases/2.1.html
- [similar]