Results of 121 - 130 of about 359 for from (0.112 sec.)
- ウィジェット — Django 4.0.6 ドキュメント 4717
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
get argument on the field definition. For example: from django import forms class CommentForm ( forms . Fo ...
ectDateWidget に対して years 属性がセットされます: from django import forms BIRTH_YEAR_CHOICES = [ '1980' ...
すると Select.choices が更新されます。たとえば: >>> from django import forms >>> CHOICES = [( '1' , 'First' ...
もあります)。 For example, take the following form: from django import forms class CommentForm ( forms . Fo ...
-
https://man.plustar.jp/django/ref/forms/widgets.html
- [similar]
- Django 1.9.2 リリースノート — Django 4.0.6 ドキュメント 4717
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ssion in Django 1.9 prevented that form submission from raising a "Permission Denied" error for users with ...
en opening the admin calendar widget for timezones from GMT+0100 to GMT+1200 ( #24980 ). Fixed a regressio ...
the other specified, or when removing one of them from a field that had both, or when adding unique=True ...
ting and debugging tools to determine the template from which a node came from, even during template inher ...
-
https://man.plustar.jp/django/releases/1.9.2.html
- [similar]
- asgiref.sync — Django 4.0.6 ドキュメント 4691
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ys import threading import warnings import weakref from concurrent.futures import Future , ThreadPoolExecu ...
tor from typing import Any , Callable , Dict , Optional , o ...
verload from .current_thread_executor import CurrentThreadExecu ...
tor from .local import Local def _restore_context ( context ...
-
https://man.plustar.jp/django/_modules/asgiref/sync.html
- [similar]
- django.urls utility functions — Django 4.0.6 ドキュメント 4691
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
iew object. For example, given the following url : from news import views path ( 'archive/' , views . arch ...
ause you can't reverse namespaced views this way.) from news import views reverse ( views . archive ) If t ...
rguments, you may pass them in args . For example: from django.urls import reverse def myview ( request ): ...
at would be passed to the view function, as parsed from the URL. kwargs ¶ The keyword arguments that would ...
-
https://man.plustar.jp/django/ref/urlresolvers.html
- [similar]
- django.utils.http — Django 4.0.6 ドキュメント 4664
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ase64 import datetime import re import unicodedata from binascii import Error as BinasciiError from email. ...
utils import formatdate from urllib.parse import ( ParseResult , SplitResult , ...
s , _splitnetloc , _splitparams , scheme_chars , ) from urllib.parse import urlencode as original_urlencod ...
e from urllib.parse import uses_params from django.utils. ...
-
https://man.plustar.jp/django/_modules/django/utils/http.html
- [similar]
- 複数のデータベース — Django 4.0.6 ドキュメント 4664
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
their original database (i.e., an object retrieved from the foo database will be saved on the same databas ...
figuration, and randomly chooses a replica to read from: import random class PrimaryReplicaRouter : def db ...
defined a router to handle interaction with models from the auth app, and other routers to handle interact ...
atabase allocated by the routers. Moving an object from one database to another ¶ If you've saved an insta ...
-
https://man.plustar.jp/django/topics/db/multi-db.html
- [similar]
- django.utils.encoding — Django 4.0.6 ドキュメント 4637
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
スコード import codecs import datetime import locale from decimal import Decimal from urllib.parse import qu ...
ote from django.utils.functional import Promise class Djang ...
able for inclusion in a URL. This is the algorithm from section 3.1 of RFC 3987, slightly simplified since ...
# The list of safe characters here is constructed from the "reserved" and # "unreserved" characters speci ...
-
https://man.plustar.jp/django/_modules/django/utils/encoding.html
- [similar]
- How to override templates — Django 4.0.6 ドキュメント 4637
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
-in widget templates を読んでください。 Overriding from the project's templates directory ¶ 最初に、プロジ ...
elevant settings for your project would look like: from pathlib import Path BASE_DIR = Path ( __file__ ) . ...
will return the files you just created. Overriding from an app's template directory ¶ Since you're overrid ...
t. The rest of the template is inherited unchanged from admin/base_site.html . This technique works becaus ...
-
https://man.plustar.jp/django/howto/overriding-templates.html
- [similar]
- Django 1.4.4 release notes — Django 4.0.6 ドキュメント 4637
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
l URLs, including domain name, which are generated from the HTTP Host header. Django's documentation has f ...
1664 and CVE-2013-1665. More information available from the Python security team . Django's XML serializer ...
d not cause any issues with the typical round-trip from dumpdata to loaddata , but if you feed your own XM ...
bugfixes and changes ¶ Prevented transaction state from leaking from one request to the next (#19707). Cha ...
-
https://man.plustar.jp/django/releases/1.4.4.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 4637
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
changes you'll want to be aware of when upgrading from Django 1.4 or older versions. We've also dropped s ...
backwards incompatible changes ; people upgrading from previous versions of Django should read that list ...
). Django 1.3 and above introduced the {% load url from future %} syntax to bring in the corrected behavio ...
t of this is that if you are not using {% load url from future %} in your templates, you'll need to change ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]