検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 44 for register (0.028 sec.)
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 7592
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ou leave them, but they also won't do anything. To register apps with the admin you'll move those declarations ... : ( 'first_name' , 'last_name' ) } admin . site . register ( Author , AuthorAdmin ) The Admin ¶ One of the bi ... how to replace your class Admin with an admin.site.register() call in an admin.py file. Below are some more de ... = Parent inlines = [ ChildInline ] admin . site . register ( Parent , ParentAdmin ) See InlineModelAdmin オブ ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django 1.4 documentation 7515
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ls from django.contrib import admin admin . site . register ( models . Article ) サイトの編集はスタッフ、顧客、 ... ll from django.contrib import admin admin . site . register ( Poll ) admin のページをリロードして、どんな変化が ... ドを書かずに実現したこ とに驚くはずです。 admin.site.register(Poll) の呼び出しによって、 Django はオブジェクトの ... ィールドの並び順を並べ替えてみましょう。 admin.site.register(Poll) の行を以下のように置き換えてみてください: cl ...
https://man.plustar.jp/django/contents.html - [similar]
Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 7515
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... aseUserAdmin ): inlines = ( EmployeeInline ,) # Re-register UserAdmin admin . site . unregister ( User ) admin ... . site . register ( User , UserAdmin ) これらのプロファイルモデルは特 ... UserAdmin from .models import User admin . site . register ( User , UserAdmin ) プロジェクト途中からのカスタム ... l admins are staff return self . is_admin Then, to register this custom user model with Django's admin, the fo ...
https://man.plustar.jp/django/topics/auth/customizing.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 7438
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ): add_form = MyUserCreationForm admin . site . unregister ( User ) admin . site . register ( User , UserAdmi ... ango.db.models.functions import Length CharField . register_lookup ( Length ) # Unsalted MD5 passwords might n ... lf ): # do_custom_stuff_for_myfield .... MyField . register_lookup ( MyFieldExact ) django.contrib.gis ¶ Spati ... ODE)' % ( lhs , rhs ), params models . CharField . register_lookup ( Search ) models . TextField . register_lo ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
Organization of the Django Project — Django 4.0.6 ドキュメント 7361
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ll individual members of the DSF are automatically registered and need not explicitly register. All other pers ... themselves eligible to vote, but who have not yet registered to vote, may make an application to the DSF Boar ... reject the registration of voters it believes are registering in bad faith or who it believes have falsified ... tion of candidates begin. Any qualified person may register as a candidate. The candidate registration form an ...
https://man.plustar.jp/django/internals/organization.html - [similar]
The flatpages app — Django 4.0.6 ドキュメント 7361
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... pear in the admin interface, but you can add it by registering a custom ModelAdmin for FlatPage : from django. ... ration_required' , 'template_name' , ), }), ) # Re-register FlatPageAdmin admin . site . unregister ( FlatPage ... ) admin . site . register ( FlatPage , FlatPageAdmin ) Via the Python API ¶ ...
https://man.plustar.jp/django/ref/contrib/flatpages.html - [similar]
URL ディスパッチャ — Django 4.0.6 ドキュメント 7361
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rather than a segment of a URL path as with str . Registering custom path converters ¶ For more complex match ... f to_url ( self , value ): return ' %04d ' % value Register custom converter classes in your URLconf using reg ... ister_converter() : from django.urls import path , register_converter from . import converters , views registe ... an also raise ValueError to indicate no match, see Registering custom path converters for details. URL の名前空 ...
https://man.plustar.jp/django/topics/http/urls.html - [similar]
Signals — Django 4.0.6 ドキュメント 7361
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... below. Listening to signals ¶ To receive a signal, register a receiver function using the Signal.connect() met ... s are called one at a time, in the order they were registered. Signal. connect ( receiver , sender = None , we ... for more information. Let's see how this works by registering a signal that gets called after each HTTP reque ... e specific model is saved. In these cases, you can register to receive signals sent only by particular senders ...
https://man.plustar.jp/django/topics/signals.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 7284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of positional or keyword arguments. For example: @register . simple_tag def my_tag ( a , b , * args , ** kwar ... hey used to be attributes of the filter function: @register . filter def noop ( value ): return value noop . i ... gfilter . Now, the flags are keyword arguments of @register.filter : @register . filter ( is_safe = True ) def ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... written your model admin definitions, they can be registered with any Admin instance: from django.contrib imp ... elAdmin ): inlines = [ BookInline ] admin . site . register ( Author , MultiDBModelAdmin ) admin . site . regi ... te = admin . AdminSite ( 'othersite' ) othersite . register ( Publisher , MultiDBModelAdmin ) This example set ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
PREV 1 2 3 4 5 NEXT