Results of 41 - 50 of about 162 for then (0.073 sec.)
- Django 1.7 release notes — Django 4.0.6 ドキュメント 5902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
4 Django 1.7 へようこそ! These release notes cover the new features , as well as some backwards incompatib ...
on configurations, to work around label conflicts. The name of applications can be customized in the admin ...
object for advanced prefetch_related operations. ¶ The new Prefetch object allows customizing prefetch ope ...
he burden of handling edge cases fell on the user. The new add_error() method allows adding errors to spec ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- アグリゲーション — Django 4.0.6 ドキュメント 5902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
This query generates an annotated result set, and then generates a filter based upon that annotation. If ...
ly_rated ) Each Author in the result set will have the num_books and highly_rated_books attributes. See al ...
red to avoid a query bug . The second query counts the number of books that have a rating exceeding 3.0 fo ...
uery. For example, to order a QuerySet of books by the number of authors that have contributed to the book ...
-
https://man.plustar.jp/django/topics/db/aggregation.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 5902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nse. It does not support middleware. Session and authentication attributes must be supplied by the test it ...
ext_data() method by first instantiating the view, then passing a request to setup() , before proceeding w ...
order of creation of this pair is not guaranteed), then hearts , and finally spades . If there are any cir ...
more post_migrate isn't fired; it will be fired by the next TransactionTestCase , after the correct set of ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 5799
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
all to ensure test requirements are up to date and then runs npm test . Running tests using django-docker- ...
et their names by prepending test_ to the value of the NAME settings for the databases defined in DATABASE ...
ou can run a subset of the unit tests by appending the names of the test modules to runtests.py on the com ...
ettings generic_relations i18n How do you find out the names of individual tests? Look in tests/ — each di ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- バリデータ — Django 4.0.6 ドキュメント 5799
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ys are contained in the value. If strict is True , then it also checks that there are no other keys presen ...
-
https://man.plustar.jp/django/ref/contrib/postgres/validators.html
- [similar]
- Django Utils — Django 4.0.6 ドキュメント 5799
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ould be in Vary . If headers contains an asterisk, then Vary header will consist of a single asterisk '*' ...
te methods or classes; in the latter case, name is the name of the method to be decorated and is required. ...
or use the keep_lazy_text() decorator described in the next section). Using this decorator means you can w ...
tion and assume that the input is a proper string, then add support for lazy translation objects at the en ...
-
https://man.plustar.jp/django/ref/utils.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 5696
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ts of the command-parsing and -execution behavior, the normal flow works as follows: 1. ``django-admin`` o ...
nges requested by options like ``pythonpath``, and then calls the ``execute()`` method, passing the parsed ...
m some additional parsing work in ``handle()`` and then delegate from it to more specialized methods as ne ...
requested (e.g., Python path and Django settings), then run this command. If the command raises a ``Comman ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- django.core.validators — Django 4.0.6 ドキュメント 5696
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
y r "(?:[^\s:@/]+(?::[^\s:@/]*)?@)?" # user:pass authentication r "(?:" + ipv4_re + "|" + ipv6_re + "|" + ...
de = self . code , params = { "value" : value }) # Then check full URL try : super () . __call__ ( value ) ...
_ ( url ) else : raise else : # Now verify IPv6 in the netloc part host_match = re . search ( r "^\[(.+)\] ...
ss, but this includes # one byte for the length of the name and one byte for the trailing dot # that's use ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- django.utils.encoding — Django 4.0.6 ドキュメント 5696
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
i_range for fmt in [ " %02x " , " %02X " ] } # And then everything above 128, because bytes ≥ 128 are part ...
# Fast selective unquote: First, split on '%' and then starting with the # second block, decode the first ...
-
https://man.plustar.jp/django/_modules/django/utils/encoding.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 5696
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
low. First, import the Python logging library, and then obtain a logger instance with logging.getLogger() ...
spacing below for more on this) which will provide the name of the current Python module as a dotted path: ...
n to perform this declaration at module level. And then in a function, for example in a view, send a recor ...
apture logs only from loggers with matching names. The namespace of a logger instance is defined using get ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]