per page, with , order by , clip by
Results of 1 - 10 of about 19 for hardcoded (0.004 sec.)
Django 1.8.16 リリースノート 12789
Django 1.8.16 リリースノート November 1, 2016 Django 1.8.16 fixes two security issues in 1.8.15. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a temporary databa ... se user. In older versions, if a password isn't manually specified in the database settings TEST dictionary, a hardcoded password is used. This could allow an attacker with network access to the database server to connect. This user is usually ...
https://man.mtool.work/django/6.1/releases/1.8.16.html
Django 1.9.11 リリースノート 12533
Django 1.9.11 リリースノート November 1, 2016 Django 1.9.11 では、1.9.10 にあった2つのセキュリティの問題を修正しました。 User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django cr ... orary database user. In older versions, if a password isn't manually specified in the database settings TEST dictionary, a hardcoded password is used. This could allow an attacker with network access to the database server to connect. This user is usually ...
https://man.mtool.work/django/6.1/releases/1.9.11.html
Django 1.10.3 リリースノート 11799
Django 1.10.3 リリースノート November 1, 2016 Django 1.10.3 fixes two security issues and several bugs in 1.10.2. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a ... orary database user. In older versions, if a password isn't manually specified in the database settings TEST dictionary, a hardcoded password is used. This could allow an attacker with network access to the database server to connect. This user is usually ...
https://man.mtool.work/django/6.1/releases/1.10.3.html
モデルに初期データを投入する 8588
モデルに初期データを投入する It's sometimes useful to prepopulate your database with hardcoded data when you're first setting up an app. You can provide initial data with migrations or fixtures. マイグレーションで初期データを投入する アプリ ...
https://man.mtool.work/django/6.1/howto/initial-data.html
CSVを出力する 8332
CSVを出力する このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Python のCSV ライブラリか Django のテンプレートシステムを使います。 Python の CSV ライブラリを使う ... ntent_type = "text/csv" , headers = { "Content-Disposition" : 'attachment; filename="somefilename.csv"' }, ) # The data is hardcoded here, but you could load it from a database or # some other source. csv_data = ( ( "First row" , "Foo" , "Bar" , "Baz" ), ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
Django 1.6 リリースノート 8332
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... r ManyToManyField fields HTML rendering of model form fields corresponding to ManyToManyField model fields used to get the hardcoded sentence: Hold down "Control", or "Command" on a Mac, to select more than one. (or its translation to the active locale) i ... form fields and/or widgets for ManyToManyField model fields whose UIs do rely on the automatic provision of the mentioned hardcoded sentence. These form field implementations need to adapt to the new scenario by providing their own handling of the help_t ...
https://man.mtool.work/django/6.1/releases/1.6.html
カスタムのモデルフィールドを作成する 8093
カスタムのモデルフィールドを作成する はじめに モデルリファレンス ドキュメントでは、Djangoの標準フィールドクラスである、 CharField や、 DateField などの使い方を説明しています。多くの場合、これらのクラスがあれば十分です。ただし、Djangoのバージ ... aximum column length. In cases like these, it's more flexible if the parameter is specified in the model rather than being hardcoded in the db_type() method. For example, it wouldn't make much sense to have a CharMaxlength25Field , shown here: # This is a ... silly example of hardcoded parameters. class CharMaxlength25Field ( models . Field ): def db_type ( self , connection ): return "char(25)" # In the m ...
https://man.mtool.work/django/6.1/howto/custom-model-fields.html
配信 (syndication) フィード フレームワーク 8093
配信 (syndication) フィード フレームワーク Django には、 RSS と Atom フィードを作成するための高レベルな配信 (syndication) フィード生成フレームワークが付属しています。 任意の配信フィードを作成するには、短い Python クラスを書くだけで済みます。 ... stances). """ def stylesheets ( self ): """ Returns the feed's stylesheets (as URL strings or Stylesheet instances). """ # Hardcoded stylesheets. stylesheets = [ "/stylesheet1.xsl" , "stylesheet2.xsl" ] # ITEMS -- One of the following three is required. T ... ink ( self , obj ): """ Takes an item, as returned by items(), and returns a boolean. """ item_guid_is_permalink = False # Hardcoded value # ITEM AUTHOR NAME -- One of the following three is optional. The # framework looks for them in this order. def item ... stylesheets 属性を設定します。 URLをハードコードした場合。 from django.contrib.syndication.views import Feed class FeedWithHardcodedStylesheet ( Feed ): stylesheets = [ "https://example.com/rss_stylesheet.xslt" , ] Django の静的ファイルシステムを使うことも ...
https://man.mtool.work/django/6.1/ref/contrib/syndication.html
はじめての Django アプリ作成、その 3 7837
はじめての Django アプリ作成、その 3 このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にして、公開用のインタフェース、ビュー(view) の作成を焦点に解説します。 困ったときは: このチュート ... put ) # Leave the rest of the views (detail, results, vote) unchanged There's a problem here, though: the page's design is hardcoded in the view. If you want to change the way the page looks, you'll have to edit this Python code. So let's use Django's tem ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
Django 1.5 リリースノート 7837
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.4 or older versions. We'v ... above. This has been changed so no sequences are implicitly reset. This can cause TransactionTestCase tests that depend on hardcoded primary key values to break. The new reset_sequences attribute can be used to force the old behavior for TransactionTestCa ...
https://man.mtool.work/django/6.1/releases/1.5.html
PREV 1 2 NEXT