Results of 71 - 80 of about 187 for Field (0.026 sec.)
- django.core.files.uploadhandler — Django 4.0.6 ドキュメント 5286
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
--'. """ pass [ドキュメント] def new_file ( self , field_name , file_name , content_type , content_length , ...
ngth (and sometimes won't even get it). """ self . field_name = field_name self . file_name = file_name sel ...
return InMemoryUploadedFile ( file = self . file , field_name = self . field_name , name = self . file_name ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html
- [similar]
- モデルフォーム関数 — Django 4.0.6 ドキュメント 5286
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
y ¶ modelform_factory ( model , form = ModelForm , fields = None , exclude = None , formfield_callback = No ...
ne , widgets = None , localized_fields = None , labels = None , help_texts = None , erro ...
r_messages = None , field_classes = None ) ¶ 与えられた model に対して Model ...
lForm を構築する開始地点として使うことができます。 fields は、フィールド名の省略可能なリストです。提供された ...
-
https://man.plustar.jp/django/ref/forms/models.html
- [similar]
- クエリを作成する — Django 4.0.6 ドキュメント 5286
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
class Blog ( models . Model ): name = models . CharField ( max_length = 100 ) tagline = models . TextField ...
ass Author ( models . Model ): name = models . CharField ( max_length = 200 ) email = models . EmailField ( ...
elete = models . CASCADE ) headline = models . CharField ( max_length = 255 ) body_text = models . TextFiel ...
d () pub_date = models . DateField () mod_date = models . DateField ( default = date ...
-
https://man.plustar.jp/django/topics/db/queries.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 5253
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
iled in CSRF Protection , below. Authors of custom Field subclasses should be aware that a number of method ...
ototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags have chang ...
alidating their own data , and both model and form fields now accept configurable lists of validators speci ...
for usernames ¶ The built-in User model's username field now allows a wider range of characters, including ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- データベース — Django 4.0.6 ドキュメント 5231
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
umns ¶ When specifying db_index=True on your model fields, Django typically outputs a single CREATE INDEX s ...
tatement. However, if the database type for the field is either varchar or text (e.g., used by CharField ...
, FileField , and TextField ), then Django will create an addi ...
Manually assigning a value to an auto-incrementing field doesn't update the field's sequence, which might l ...
-
https://man.plustar.jp/django/ref/databases.html
- [similar]
- Related objects reference — Django 4.0.6 ドキュメント 5231
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
manager blog.entry_set . Both sides of a ManyToManyField relation: class Topping ( models . Model ): # ... ...
( models . Model ): toppings = models . ManyToManyField ( Topping ) In this example, the methods below wil ...
ationships add() accepts either model instances or field values, normally primary keys, as the *objs argume ...
jango figures out that the new Entry object's blog field should be set to b . Use the through_defaults argu ...
-
https://man.plustar.jp/django/ref/models/relations.html
- [similar]
- Django 1.8.5 リリースノート — Django 4.0.6 ドキュメント 5198
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r in some delete queries with a model containing a field that is both a foreign and primary key ( #24951 ). ...
odelAdmin.list_display that clashed with a reverse field on the model ( #25299 ). Fixed autocompletion for ...
ations crash on MySQL when adding a text or a blob field with an unhashable default ( #25393 ). Changed Cou ...
Fixed incorrect queries with multiple many-to-many fields on a model with the same 'to' model and with rela ...
-
https://man.plustar.jp/django/releases/1.8.5.html
- [similar]
- Generic date ビュー — Django 4.0.6 ドキュメント 5176
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s Article ( models . Model ): title = models . CharField ( max_length = 200 ) pub_date = models . DateField ...
rchiveIndexView . as_view ( model = Article , date_field = "pub_date" ), name = "article_archive" ), ] 例 m ...
View ): queryset = Article . objects . all () date_field = "pub_date" make_object_list = True allow_future ...
View ): queryset = Article . objects . all () date_field = "pub_date" allow_future = True 例 myapp/urls.py ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html
- [similar]
- フォーム — Django 4.0.6 ドキュメント 5176
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
プットする さらに詳細なアウトプット Customizing BoundField Binding uploaded files to a form Subclassing forms ...
Prefixes for forms Form fields field のコアとなる引数 フィールドのデータの変更チ ...
ェック ビルトインの Field クラス Slightly complex built-in Field classes Fie ...
lds which handle relationships Creating custom fields モデルフォーム関数 modelform_factory modelformset ...
-
https://man.plustar.jp/django/ref/forms/index.html
- [similar]
- Django 1.11.2 リリースノート — Django 4.0.6 ドキュメント 5176
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
8142 ). Fixed regression causing pickling of model fields to crash ( #28188 ). Fixed django.contrib.auth.au ...
argument ( #28207 ). Fixed introspection of index field ordering on PostgreSQL ( #28197 ). Fixed a regress ...
Relaxed the validation added in Django 1.11 of the fields in the defaults argument of QuerySet.get_or_creat ...
g files to a CIFS mount ( #28170 ). Moved the ImageField file extension validation added in Django 1.11 fro ...
-
https://man.plustar.jp/django/releases/1.11.2.html
- [similar]