Results of 1 - 10 of about 57 for setup (0.008 sec.)
- クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 14024
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... view() dispatch() head() http_method_not_allowed() setup() TemplateView ¶ class TemplateView ¶ 属性 (と省略 ... d() http_method_not_allowed() render_to_response() setup() RedirectView ¶ class RedirectView ¶ 属性 (と省略 ... ) http_method_not_allowed() options() post() put() setup() 詳細のビュー ¶ Detail Views ¶ class DetailView ¶ ... d() http_method_not_allowed() render_to_response() setup() リストのビュー ¶ List Views ¶ class ListView ¶ 属 ...
-
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 12864
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... yView , my_view class SimpleTest ( TestCase ): def setUp ( self ): # Every test needs access to the request ... ure that they are configured correctly, by calling setup() after instantiation. For example, assuming the f ... instantiating the view, then passing a request to setup() , before proceeding with your test's code: tests ... Factory () . get ( '/' ) view = HomeView () view . setup ( request ) context = view . get_context_data () s ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- 高度なチュートリアル: 再利用可能アプリの書き方 — Django 4.0.6 ドキュメント 10544
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... あることで少しややこしいです。このチュートリアルでは setuptools をパッケージに使用します。これはおすすめのパッ ... go をpip でインストールする . を参照してください。 setuptools も同じ方法でインストールできます。 アプリケー ... 意してください。 Next we'll create pyproject.toml , setup.cfg , and setup.py files which detail how to build ... iles is beyond the scope of this tutorial, but the setuptools documentation has a good explanation. Create ...
-
https://man.plustar.jp/django/intro/reusable-apps.html
- [similar]
- Djangoの設定 — Django 4.0.6 ドキュメント 10544
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... system by itself, you likely don't want to have to set up an environment variable pointing to a settings mo ... MODULE . Not both, and not neither. Calling django.setup() is required for "standalone" Django usage ¶ If y ... or called configure() , you'll need to call django.setup() to load your settings and populate Django's appl ... ettings = myapp_defaults , DEBUG = True ) django . setup () # Now this script or any imported module can us ...
-
https://man.plustar.jp/django/topics/settings.html
- [similar]
- django.utils.functional — Django 4.0.6 ドキュメント 9839
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... , * args ): if self . _wrapped is empty : self . _setup () return func ( self . _wrapped , * args ) return ... value else : if self . _wrapped is empty : self . _setup () setattr ( self . _wrapped , name , value ) def ... _wrapped." ) if self . _wrapped is empty : self . _setup () delattr ( self . _wrapped , name ) def _setup ( ... dError ( "subclasses of LazyObject must provide a _setup() method" ) # Because we have messed with __class_ ...
-
https://man.plustar.jp/django/_modules/django/utils/functional.html
- [similar]
- Base views — Django 4.0.6 ドキュメント 9486
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ートされることができます。 メソッドのフローチャート setup() dispatch() http_method_not_allowed() options() E ... w is called during the request/response cycle, the setup() method assigns the HttpRequest to the view's req ... tributes, respectively. Then dispatch() is called. setup ( request , * args , ** kwargs ) ¶ Performs key vi ... o.views.generic.base.View メソッドのフローチャート setup() dispatch() http_method_not_allowed() get_context ...
-
https://man.plustar.jp/django/ref/class-based-views/base.html
- [similar]
- django — Django 4.0.6 ドキュメント 7636
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ion__ = get_version ( VERSION ) [ドキュメント] def setup ( set_prefix = True ): """ Configure the settings ...
-
https://man.plustar.jp/django/_modules/django.html
- [similar]
- Generic display ビュー — Django 4.0.6 ドキュメント 7636
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... o.views.generic.base.View メソッドのフローチャート setup() dispatch() http_method_not_allowed() get_templat ... o.views.generic.base.View メソッドのフローチャート setup() dispatch() http_method_not_allowed() get_templat ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-display.html
- [similar]
- アプリケーション — Django 4.0.6 ドキュメント 7518
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... plications are loaded ¶ When Django starts, django.setup() is responsible for populating the application re ... gistry. setup ( set_prefix = True ) [ソース] ¶ Configures Django ... xception also happens if you forget to call django.setup() in a standalone Python script. ImportError: cann ...
-
https://man.plustar.jp/django/ref/applications.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 7518
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ient class SimpleTest ( unittest . TestCase ): def setUp ( self ): # Every test needs a client. self . clie ... estCase とそのサブクラス (例: TestCase , ...) は、 setUpClass() と tearDownClass() に依存して、クラス横断的 ... い: class MyTestCase ( TestCase ): @classmethod def setUpClass ( cls ): super () . setUpClass () ... @classm ... Python's behavior if an exception is raised during setUpClass() . If that happens, neither the tests in the ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]