per page, with , order by , clip by
Results of 1 - 10 of about 31 for account (0.003 sec.)
条件式 16501
条件式 Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expression evaluates a series of conditions for each row of a table and returns the matching result ... のモデルを使用します: from django.db import models class Client ( models . Model ): REGULAR = "R" GOLD = "G" PLATINUM = "P" ACCOUNT_TYPE_CHOICES = { REGULAR : "Regular" , GOLD : "Gold" , PLATINUM : "Platinum" , } name = models . CharField ( max_length = ... 50 ) registered_on = models . DateField () account_type = models . CharField ( max_length = 1 , choices = ACCOUNT_TYPE_CHOICES , default = REGULAR , ) When class When ( cond ... b.models import F , Q , When >>> # String arguments refer to fields; the following two examples are equivalent: >>> When ( account_type = Client . GOLD , then = "name" ) >>> When ( account_type = Client . GOLD , then = F ( "name" )) >>> # You can use fi ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 1.8.2 リリースノート 9091
Django 1.8.2 リリースノート May 20, 2015 Django 1.8.2 fixes a security issue and several bugs in 1.8.1. Fixed session flushing in the cached_db backend A change to session.flush() in the cached_db session backend in Django 1.8 mistakenly se ... flush() is called by django.contrib.auth.logout() and, more seriously, by django.contrib.auth.login() when a user switches accounts. If a user is logged in and logs in again to a different account (without logging out) the session is flushed to avoid re ... use. After the session is flushed (and its session key becomes '' ) the account details are set on the session and the session is saved. Any users with an empty string in their session cookie will now b ... e logged into that account. バグ修正 Fixed check for template engine alias uniqueness ( #24685 ). Fixed crash when reusing the same Case instance in ...
https://man.mtool.work/django/6.1/releases/1.8.2.html
Django 1.11.27 リリースノート 8962
Django 1.11.27 リリースノート December 18, 2019 Django 1.11.27 fixes a security issue and a data loss bug in 1.11.26. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use ... o an existing user email when lower-cased for comparison, an attacker could be sent a password reset token for the matched account. In order to avoid this vulnerability, password reset requests now compare the submitted email using the stricter, recomme ...
https://man.mtool.work/django/6.1/releases/1.11.27.html
Django 2.2.9 リリースノート 8962
Django 2.2.9 リリースノート December 18, 2019 Django 2.2.9 fixes a security issue and a data loss bug in 2.2.8. CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email address making use of Un ... o an existing user email when lower-cased for comparison, an attacker could be sent a password reset token for the matched account. In order to avoid this vulnerability, password reset requests now compare the submitted email using the stricter, recomme ...
https://man.mtool.work/django/6.1/releases/2.2.9.html
Django 3.0.1 リリースノート 8638
Django 3.0.1 リリースノート December 18, 2019 Django 3.0.1 では、セキュリティの問題1件と 3.0 におけるいくつかのバグを修正しました。 CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email addr ... o an existing user email when lower-cased for comparison, an attacker could be sent a password reset token for the matched account. In order to avoid this vulnerability, password reset requests now compare the submitted email using the stricter, recomme ...
https://man.mtool.work/django/6.1/releases/3.0.1.html
Submitting contributions 8201
Submitting contributions We're always grateful for contributions to Django's code. Indeed, bug reports with associated contributions will get fixed far more quickly than those without a solution. Typo fixes and trivial documentation changes ... ability, knowledge of Django internals and time availability), claim it by following these steps: Log in using your GitHub account or create an account in our ticket system. If you have an account but have forgotten your password, you can reset it using ... it's probably safe to reassign it to yourself. If a ticket hasn't been approved yet, join the conversation. Log into your account, if you haven't already, by clicking "GitHub Login" or "DjangoProject Login" in the upper left of the ticket page. Once lo ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/submitting...
Working with Git and GitHub 8137
Working with Git and GitHub This section explains how the community can contribute code to Django via pull requests. If you're interested in how mergers handle them, see プルリクエストの取り扱い . Below, we are going to show how to create a ... Hub should know the email you use in the user.email field, as this will be used to associate your commits with your GitHub account. Setting up local repository When you have created your GitHub account, with the nick "GitHub_nick", and forked Django's r ... d be applied. If your topic branch is already published at GitHub, for example if you're making minor changes to take into account a review, you will need to force-push the changes: git push --force-with-lease origin ticket_xxxxx Note that this will rew ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
Django 1.3 リリースノート 7943
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... ation have been added to the cache API. Thirdly, cache key creation has been updated to take the request query string into account on GET requests. Finally, support for pylibmc has been added to the memcached cache backend. For more details, see the doc ... the default widget for a FileField , so existing forms including FileField without assigning a custom widget will need to account for the possible extra checkbox in the rendered form output. To return to the previous rendering (without the ability to c ... e than the ones listed later. Translations under the locale subdirectory of the project directory have never been taken in account for JavaScript translations and remain in the same situation considering the deprecation of such location. Transaction man ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.11.10 リリースノート 7894
Django 1.11.10 リリースノート 2018年2月1日 Django 1.11.10 では、1.11.9 にあった1つのセキュリティの問題と、いくつかのバグを修正しました。 CVE-2018-6188: AuthenticationForm における情報漏えい A regression in Django 1.11.8 made AuthenticationF ... nsitive details could be leaked. This issue is fixed with the caveat that AuthenticationForm can no longer raise the "This account is inactive." error if the authentication backend rejects inactive users (the default authentication backend, ModelBackend ...
https://man.mtool.work/django/6.1/releases/1.11.10.html
Django 1.8.16 リリースノート 7894
Django 1.8.16 リリースノート November 1, 2016 Django 1.8.16 fixes two security issues in 1.8.15. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a temporary databa ... cker could execute arbitrary SQL, which could be especially bad if the developers connect to the database with a superuser account. settings.ALLOWED_HOSTS is now validated regardless of DEBUG . For convenience, if ALLOWED_HOSTS is empty and DEBUG=True , ...
https://man.mtool.work/django/6.1/releases/1.8.16.html
PREV 1 2 3 4 NEXT