Results of 1 - 10 of about 121 for Required (0.013 sec.)
- フォーム API — Django 4.0.6 ドキュメント 13829
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
valid email address.'], 'subject': ['This field is required.']} このディクショナリでは、キーはフィールド名、値 ...
.'])], 'subject': [ValidationError(['This field is required.'])]} code によりエラーを特定する必要があるときはこ ...
invalid"}], "subject": [{"message": "This field is required.", "code": "required"}]} By default, as_json() doe ...
td><input type="text" name="name" value="instance" required></td></tr> <tr><th>Url:</th><td><input type="url" ...
-
https://man.plustar.jp/django/ref/forms/api.html
- [similar]
- Form fields — Django 4.0.6 ドキュメント 13606
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
すが、以下に説明する引数は 常に 取ることができます。 required ¶ Field. required ¶ By default, each Field class a ...
ssumes the value is required, so if you pass an empty value -- either None or t ...
call last): ... ValidationError : ['This field is required.'] >>> f . clean ( None ) Traceback (most recent c ...
all last): ... ValidationError : ['This field is required.'] >>> f . clean ( ' ' ) ' ' >>> f . clean ( 0 ) ' ...
-
https://man.plustar.jp/django/ref/forms/fields.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 10210
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
( request , 'myapp/login_error.html' ) # ... login_required デコレータ ¶ login_required ( redirect_field_name ...
_url = None ) ¶ ショートカットとして、便利な login_required() デコレータを利用できます: from django.contrib.au ...
th.decorators import login_required @login_required def my_view ( request ): ... login ...
_required() は下記の処理を行います: もしユーザがログインして ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- PostgreSQL specific form fields and widgets — Django 4.0.6 ドキュメント 9826
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
sented by an HTML <input> . base_field ¶ This is a required argument. It specifies the underlying form field f ...
ld a fixed number of times. base_field ¶ This is a required argument. It specifies the form field to be repeat ...
ipped from the result. If the underlying field has required=True , but remove_trailing_nulls is True , then nu ...
d. Some examples: SplitArrayField ( IntegerField ( required = True ), size = 3 , remove_trailing_nulls = False ...
-
https://man.plustar.jp/django/ref/contrib/postgres/forms.html
- [similar]
- ウィジェット — Django 4.0.6 ドキュメント 9380
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
)) favorite_colors = forms . MultipleChoiceField ( required = False , widget = forms . CheckboxSelectMultiple ...
r><th>Name:</th><td><input type="text" name="name" required></td></tr> <tr><th>Url:</th><td><input type="url" ...
name="url" required></td></tr> <tr><th>Comment:</th><td><input type="t ...
ext" name="comment" required></td></tr> On a real web page, you probably don't ...
-
https://man.plustar.jp/django/ref/forms/widgets.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 8067
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
teful template tags The user_passes_test() , login_required() , and permission_required() , decorators from dj ...
or Python 2.3. As such, the minimum Python version required for Django is now 2.4, and Django is tested and su ...
tion , prepared = False ): # ... These changes are required to support multiple databases -- db_type and get_d ...
get_db_prep_lookup() to get_prep_lookup() . If you require database specific conversions, then you will need t ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- Django のショートカット関数 — Django 4.0.6 ドキュメント 7620
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
offers the same level of convenience as render() . Required arguments ¶ request The request object used to gen ...
404 instead of the model's DoesNotExist exception. Required arguments ¶ klass A Model class, a Manager , or a ...
t, raising Http404 if the resulting list is empty. Required arguments ¶ klass A Model , Manager or QuerySet in ...
uery." ) 目次 Django のショートカット関数 render() Required arguments Optional arguments カスタマイズ例 redire ...
-
https://man.plustar.jp/django/topics/http/shortcuts.html
- [similar]
- クラスベースビュー入門 — Django 4.0.6 ドキュメント 7509
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
: from django.contrib.auth.decorators import login_required , permission_required from django.views.generic im ...
t VoteView urlpatterns = [ path ( 'about/' , login_required ( TemplateView . as_view ( template_name = "secret ...
.html" ))), path ( 'vote/' , permission_required ( 'polls.can_vote' )( VoteView . as_view ())), ] こ ...
。 from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorat ...
-
https://man.plustar.jp/django/topics/class-based-views/intro.html
- [similar]
- GeoDjango Installation — Django 4.0.6 ドキュメント 7348
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
for your platform, installation from source may be required. When compiling the libraries from source, please ...
source spatial database. The geospatial libraries required for a GeoDjango installation depends on the spatia ...
e Python Software Foundation, however, this is not required. Python ¶ Although macOS comes with Python install ...
ew still builds the software from source, Xcode is required. Summary: $ brew install postgresql $ brew install ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/index.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 7298
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ge = 'de' # TITLE -- One of the following three is required. The framework # looks for them in this order. def ...
ded title. # LINK -- One of the following three is required. The framework # looks for them in this order. def ...
id. # DESCRIPTION -- One of the following three is required. The framework # looks for them in this order. def ...
To Live. # ITEMS -- One of the following three is required. The framework looks # for them in this order. def ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]