検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 43 for success (0.023 sec.)
mixinを編集する — Django 4.0.6 ドキュメント 15811
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... リ。 form_class ¶ インスタンス化するフォームクラス。 success_url ¶ フォームが正常に処理されたときにリダイレクト ... the generated form. Returns prefix by default. get_success_url () ¶ Determine the URL to redirect to when the ... form is successfully validated. Returns success_url by default. fo ... rm_valid ( form ) ¶ Redirects to get_success_url() . form_invalid ( form ) ¶ Renders a response ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
メッセージフレームワーク — Django 4.0.6 ドキュメント 12170
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... メッセージ INFO ユーザーに何か情報を伝えるメッセージ SUCCESS あるアクションが成功した、例えば "あなたのプロフィ ... 持っています。 レベル定数 タグ DEBUG debug INFO info SUCCESS success WARNING warning ERROR error メッセージレベ ... hree credits remain in your account.' ) messages . success ( request , 'Profile details updated.' ) messages ... る値は以下の通りです: レベル定数 値 DEBUG 10 INFO 20 SUCCESS 25 WARNING 30 ERROR 40 HTML や CSS の中で独自のレベ ...
https://man.plustar.jp/django/ref/contrib/messages.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 9455
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... prefix() ] response_class [ render_to_response() ] success_url [ get_success_url() ] template_engine template ... ) ] slug_field [ get_slug_field() ] slug_url_kwarg success_url [ get_success_url() ] template_engine template ... ) ] slug_field [ get_slug_field() ] slug_url_kwarg success_url [ get_success_url() ] template_engine template ... ) ] slug_field [ get_slug_field() ] slug_url_kwarg success_url [ get_success_url() ] template_engine template ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
django.contrib.messages.api — Django 4.0.6 ドキュメント 9363
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , "get_level" , "set_level" , "debug" , "info" , "success" , "warning" , "error" , "MessageFailure" , ) clas ... ded, and return ``True`` if the level was recorded successfully. If set to ``None``, use the default level (s ... extra_tags , fail_silently = fail_silently , ) def success ( request , message , extra_tags = "" , fail_silen ... tly = False ): """Add a message with the ``SUCCESS`` level.""" add_message ( request , constants . SU ...
https://man.plustar.jp/django/_modules/django/contrib/messages/api.html - [similar]
クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 8437
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ate_name = 'contact.html' form_class = ContactForm success_url = '/thanks/' def form_valid ( self , form ): # ... できます。 form_valid() デフォルトの実装は、ただ単に success_url にリダイレクトするというものです。 モデルフォー ... low for examples. You don't even need to provide a success_url for CreateView or UpdateView - they will use g ... ss AuthorDeleteView ( DeleteView ): model = Author success_url = reverse_lazy ( 'author-list' ) 注釈 We have ...
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7928
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ot None : login ( request , user ) # Redirect to a success page. ... else : # Return an 'invalid login' error ... ew ( request ): logout ( request ) # Redirect to a success page. logout() は対象となるユーザーが最初からログイ ... n the URL the user should be redirected to after a successful login. If you set this to None , a query parame ... login page will be redirected as if they had just successfully logged in. Defaults to False . 警告 If you en ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 7928
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... FILES [ 'file' ]) return HttpResponseRedirect ( '/success/url/' ) else : form = UploadFileForm () return ren ... ved form . save () return HttpResponseRedirect ( '/success/url/' ) else : form = ModelFormWithFileField () re ... instance . save () return HttpResponseRedirect ( '/success/url/' ) else : form = UploadFileForm () return ren ... name = 'upload.html' # Replace with your template. success_url = '...' # Replace with your URL or reverse(). ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
LayerMapping data import utility — Django 4.0.6 ドキュメント 7589
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , encoding = None , transaction_mode = 'commit_on_success' , transform = True , unique = True , using = 'def ... ing parameters. transaction_mode May be 'commit_on_success' (default) or 'autocommit' . transform Setting thi ... rinted giving the number of features processed and successfully saved. By default, progress information will ...
https://man.plustar.jp/django/ref/contrib/gis/layermapping.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7589
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... get_form_class() . Placeholders in ModelFormMixin.success_url now support the Python str.format() syntax. Th ... n favor of == . %(<foo>)s syntax in ModelFormMixin.success_url ¶ The legacy %(<foo>)s syntax in ModelFormMixi ... n.success_url is deprecated and will be removed in Django 1. ... rators and context managers autocommit , commit_on_success , and commit_manually , defined in django.db.trans ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Django 1.4.20 release notes — Django 4.0.6 ドキュメント 7496
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .login() and i18n ) to redirect the user to an "on success" URL. The security checks for these redirects (nam ...
https://man.plustar.jp/django/releases/1.4.20.html - [similar]
PREV 1 2 3 4 5 NEXT