Results of 1 - 10 of about 82 for display (0.027 sec.)
- Django の admin サイト — Django 4.0.6 ドキュメント 17900
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ュメントを参照してください。 ModelAdmin. empty_value_display ¶ この属性は、空( None 、空の文字列、等)のレコード ...
ss AuthorAdmin ( admin . ModelAdmin ): empty_value_display = '-empty-' AdminSite.empty_value_display ですべて ...
ページもしくは特定のフィールドに対して empty_value_display をオーバーライドすることもできます: from django.co ...
min class AuthorAdmin ( admin . ModelAdmin ): list_display = ( 'name' , 'title' , 'view_birth_date' ) @admin ...
-
https://man.plustar.jp/django/ref/contrib/admin/index.html
- [similar]
- Date-based mixins — Django 4.0.6 ドキュメント 9099
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ear () ¶ Returns the year for which this view will display data, as a string. Tries the following sources, in ...
th () ¶ Returns the month for which this view will display data, as a string. Tries the following sources, in ...
_day () ¶ Returns the day for which this view will display data, as a string. Tries the following sources, in ...
eek () ¶ Returns the week for which this view will display data, as a string. Tries the following sources, in ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html
- [similar]
- Generic display ビュー — Django 4.0.6 ドキュメント 8663
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » Generic display ビュー ¶ 以下の2つの汎用クラスベースビューは、デー ...
タを描画 (display)するようにデザインされています。多くのプロジェクト ...
s.generic.detail. BaseDetailView ¶ A base view for displaying a single object. It is not intended to be used ...
False の場合、 404 エラーを投げます。 目次 Generic display ビュー Detail Views List Views 前のトピックへ Base ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-display.html
- [similar]
- GeoDjango Forms API — Django 4.0.6 ドキュメント 8663
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lized form fields and widgets in order to visually display and edit geolocalized data on a map. By default, t ...
Form widgets ¶ GeoDjango form widgets allow you to display and edit geographic data on a visual map. Note tha ...
by the map (default is 4326). BaseGeometryWidget. display_raw ¶ Boolean value specifying if a textarea input ...
¶ This widget uses an OpenStreetMap base layer to display geographic objects on. Attributes are: template_na ...
-
https://man.plustar.jp/django/ref/contrib/gis/forms-api.html
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 8228
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
l must be a Model . admin.E107 : The value of list_display must be a list or tuple. admin.E108 : The value of ...
list_display[n] refers to <label> , which is not a callable, an ...
method on <model> . admin.E109 : The value of list_display[n] must not be a ManyToManyField field. admin.E110 ...
: The value of list_display_links must be a list, a tuple, or None . admin.E11 ...
-
https://man.plustar.jp/django/ref/checks.html
- [similar]
- Admin actions — Django 4.0.6 ドキュメント 7792
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
) 注釈 This might look familiar; the admin's list_display option uses a similar technique with the display() ...
) class ArticleAdmin ( admin . ModelAdmin ): list_display = [ 'title' , 'status' ] ordering = [ 'title' ] ac ...
django.contrib.admin.ModelAdmin.message_user() to display a user friendly description of the problem in the ...
): actions = None This tells the ModelAdmin to not display or allow any actions, including any site-wide acti ...
-
https://man.plustar.jp/django/ref/contrib/admin/actions.html
- [similar]
- はじめての Django アプリ作成、その 7 — Django 4.0.6 ドキュメント 7533
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
るでしょう。各フィールドの値を表示させるには、 list_display オプションを使います。このオプションには、カラム表 ...
s QuestionAdmin ( admin . ModelAdmin ): # ... list_display = ( 'question_text' , 'pub_date' ) 念のため、 Tuto ...
s QuestionAdmin ( admin . ModelAdmin ): # ... list_display = ( 'question_text' , 'pub_date' , 'was_published_ ...
値の文字列表現となっています。 これを改善するには、 display() デコレータを次のように ( polls/models.py の) メソ ...
-
https://man.plustar.jp/django/intro/tutorial07.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 7356
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
jango view code for both sites. The view code that displays a given story checks to make sure the requested s ...
omething else. pass Getting the current domain for display ¶ LJWorld.com and Lawrence.com both have email ale ...
e domain name, but in some cases you might want to display the full URL -- with http:// and the domain and ev ...
checks the current site in retrieving flatpages to display. In the syndication framework , the templates for ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 7260
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
based on the errors contained in e.message_dict. # Display them to a user, or handle them programmatically. p ...
s str(obj) in a number of places. Most notably, to display an object in the Django admin site and as the valu ...
e inserted into a template when it displays an object. Thus, you should always return a nice, ...
have some of the following methods: Model. get_FOO_display () ¶ For every field that has choices set, the obj ...
-
https://man.plustar.jp/django/ref/models/instances.html
- [similar]
- The Django admin documentation generator — Django 4.0.6 ドキュメント 7179
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
thods. Changed in Django 4.0: Older versions don't display model cached properties. A model with useful docum ...
import MyModel def my_view ( request , slug ): """ Display an individual :model:`myapp.MyModel`. **Context** ...
-
https://man.plustar.jp/django/ref/contrib/admin/admindocs.html
- [similar]