per page, with , order by , clip by
Results of 1 - 10 of about 21 for ImproperlyConfigured (0.003 sec.)
モデルフォーム 12363
モデルフォーム ModelForm API リファレンス。 ModelForm の使用に関する入門的な資料は、トピックガイドの モデルからフォームを作成する を参照してください。 モデルフォームの Meta API class ModelFormOptions [ソース] The _meta API is used to build ... する model のフィールド名のタプルまたはリスト。 fields または exclude のいずれかの設定が必要です。どちらも設定されない場合は ImproperlyConfigured 例外が送出されます。 exclude を設定して fields を設定しない場合 exclude で指定していないすべてのモデルフィールドをフォーム ... 指定してもフォームに含まれることはありません。 fields または exclude のいずれかの設定が必要です。どちらも設定されない場合は ImproperlyConfigured 例外が送出されます。 formfield_callback ModelFormOptions. formfield_callback モデルフィールドを受け取り django.forms.Field ... て、明示的に提供する必要があります。詳しくは 使うフィールドを選択する を参照してください。使うフィールドの定義を省略すると、 ImproperlyConfigured 例外を引き起こします。 modelformset_factory modelformset_factory ( model , form = ModelForm , formfield_callback = None , ...
https://man.mtool.work/django/6.1/ref/forms/models.html
Django の例外 11940
Django の例外 Django は普通の Python の例外の他に、いくつか独自の例外も起こします。 Django Core 例外 Django core 例外クラスは django.core.exceptions で定義されています。 AppRegistryNotReady exception AppRegistryNotReady [ソース] この例外は、 ... on MiddlewareNotUsed [ソース] MiddlewareNotUsed 例外は、サーバーの設定の中でミドルウェアが使用されなかった時に発生します。 ImproperlyConfigured exception ImproperlyConfigured [ソース] ImproperlyConfigured 例外は、Django が何らかの点で不適切に設定されている場合に発生 ...
https://man.mtool.work/django/6.1/ref/exceptions.html
ミックスイン (mixin) を編集する 10689
ミックスイン (mixin) を編集する 以下のミックスイン (mixin) は、Djangoの編集ビューを構築するのに使用されます。 django.views.generic.edit.FormMixin django.views.generic.edit.ModelFormMixin django.views.generic.edit.ProcessFormView django.view ... ブジェクトのタイプを記述して model と queryset 属性にアクセスできます。 fields 属性と form_class 属性の両方を指定した場合、 ImproperlyConfigured 例外が発生します。 ミックスイン django.views.generic.edit.FormMixin django.views.generic.detail.SingleObjectMixin メソッド ... 同じように解釈されます。 フォームクラスを自動生成する場合、この属性は必須です ( model を使用するなど)。この属性を省略すると ImproperlyConfigured 例外が発生します。 success_url フォームが正常に処理されたときにリダイレクトするURL。 success_url は辞書文字列のフォーマット ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-editing.html
Django 1.11.2 リリースノート 10689
Django 1.11.2 リリースノート June 1, 2017 Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translations from Transifex are incorporated. Minor feature The new LiveServerTestCase.port attribute rea ... for GDAL 2.1 and 2.0, and removed detection for unsupported versions 1.7 and 1.8 ( #28181 ). Changed contrib.gis to raise ImproperlyConfigured rather than GDALException if gdal isn't installed, to allow third-party apps to catch that exception ( #28178 ). Fixed dja ...
https://man.mtool.work/django/6.1/releases/1.11.2.html
クラスベースのビューでフォームを扱う 10266
クラスベースのビューでフォームを扱う フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込まれたフォームを返す) 無効なデータの POST リクエスト (よくあるパターンは、エラー表示を追加したフ ... ields 属性と同じように動作します。別の方法でフォームクラスを定義しない限り、この属性は必須であり、属性がない場合、ビューは ImproperlyConfigured 例外を発生させます。 fields 属性と form_class 属性の両方を指定した場合、 ImproperlyConfigured 例外が発生します。 最後に、こ ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
シンプルなミックスイン (mixin) 9420
シンプルなミックスイン (mixin) ContextMixin class django.views.generic.base. ContextMixin 属性 extra_context コンテキストに含める辞書。これは、 as_view() の中でコンテキストを指定する便利な方法です。使用例を次に示します。 from django.views.g ... 性 template_name 文字列で指定された使用するテンプレートの完全な名前。 template_name を定義しないと、 django.core.exceptions.ImproperlyConfigured 例外が発生します。 template_engine テンプレートを読み込む際に使用するテンプレートエンジンの NAME です。 template_engine は ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-simple.html
クラスベースビュー 8592
クラスベースビュー ビューとは、リクエストを受け取り、レスポンスを返す呼び出し可能オブジェクトです。ビューは単なる関数以上のものにもなり得ます。Django ではビューとして使用できるいくつかのクラスを提供しており、これらを利用することで、ビューを ... 同期的なものか、 async def を使用した非同期的なものでなければなりません。 def と async def が混在している場合、 as_view() で ImproperlyConfigured 例外が発生します。 Django は自動的に非同期ビューを検出し、非同期コンテキストで実行します。Django の非同期サポートや、非同期 ...
https://man.mtool.work/django/6.1/topics/class-based-views/
ベース・ビュー 8169
ベース・ビュー 以下の3つのクラスは、Django のビューの作成に必要な多くの機能を提供します。これらは Django ビューの 親の ビューとみなすことができ、それ自体で使うことも継承して使うこともできます。プロジェクトに必要な全ての機能を提供するわけでは ... 関数としてマークします。非同期ハンドラ ( async def ) と同期ハンドラ ( def ) の両方が1つのビュークラスで定義されている場合、 ImproperlyConfigured 例外が発生します。 setup ( request , * args , ** kwargs ) dispatch() の前に、ビューの初期化のための重要な処理を実行します。 ...
https://man.mtool.work/django/6.1/ref/class-based-views/base.html
Django 1.7 リリースノート 8169
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... rather than raising CommandError . django.contrib.staticfiles.views.serve() will now raise an Http404 exception instead of ImproperlyConfigured when DEBUG is False . This change removes the need to conditionally add the view to your root URLconf, which in turn makes ... ils.module_loading.import_by_path function catches AttributeError , ImportError , and ValueError exceptions, and re-raises ImproperlyConfigured . Such exception masking makes it needlessly hard to diagnose circular import problems, because it makes it look like the ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.3 リリースノート 7746
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... dingDeprecationWarning . In Django 1.4 this same condition will raise DeprecationWarning , and in Django 1.5 will raise an ImproperlyConfigured exception. Everything else Django 1.1 and 1.2 added lots of big ticket items to Django, like multiple-database support, mo ...
https://man.mtool.work/django/6.1/releases/1.3.html
PREV 1 2 3 NEXT