検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 151 for uses (0.057 sec.)
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 6732
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oo' ) into Unicode literals ( u'foo' ). Django now uses Unicode strings throughout. In most places, raw st ... s connection.features.supports_tablespaces backend.uses_case_insensitive_names connection.features.uses_ca ... se_insensitive_names backend.uses_custom_queryset connection.features.uses_custom_qu ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
contenttypes フレームワーク — Django 4.0.6 ドキュメント 6592
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... led applications require it: The admin application uses it to log the history of each object added or chan ... admin interface. Django's authentication framework uses it to tie user permissions to specific models. The ... ssions system in Django's authentication framework uses a Permission model with a foreign key to ContentTy ... ) ¶ Lookup a ContentType by ID. Since this method uses the same shared cache as get_for_model() , it's pr ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 6592
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s. キャッシュ ¶ The local-memory cache backend now uses a least-recently-used (LRU) culling strategy rathe ... dels for database views. The BaseCommand class now uses a custom help formatter so that the standard optio ... ttribute rendered by the SelectMultiple widget now uses HTML5 boolean syntax rather than XHTML's multiple= ... ord is None or an empty string, or if the password uses a hasher that's not in the PASSWORD_HASHERS settin ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 6592
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ます。 To then make a TemplateResponse , DetailView uses SingleObjectTemplateResponseMixin , which extends ... that list of objects. To get the objects, ListView uses MultipleObjectMixin , which provides both get_quer ... gure out the queryset to work with, so the default uses the queryset or model attribute on the view class. ... for it. To make a TemplateResponse , ListView then uses MultipleObjectTemplateResponseMixin ; as with Sing ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 6464
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lass of the FileSystemStorage storage backend that uses the STATIC_ROOT setting as the base file system lo ... -processing failed. The ManifestStaticFilesStorage uses this behind the scenes to replace the paths with t ... f django.contrib.staticfiles is installed, the tag uses the url() method of the STATICFILES_STORAGE instea ... edia_prefix which works like get_static_prefix but uses MEDIA_URL . Static file development view ¶ The sta ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
条件付きビュー — Django 4.0.6 ドキュメント 6464
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ecorators.http.condition decorator. This decorator uses the two functions (you only need to supply one, if ... c ) We could write the earlier example, which only uses a last-modified function, using one of these decor ... would determine otherwise. The condition decorator uses both callback functions simultaneously to work out ...
https://man.plustar.jp/django/topics/conditional-view-processing.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 6336
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Queries the database >>> print ( queryset [ 5 ]) # Uses cache >>> print ( queryset [ 5 ]) # Uses cache Her ... examples in Django's unit tests show some possible uses of Q . オブジェクトを比較する ¶ To compare two mod ... >>> print ( e . blog ) # Doesn't hit the database; uses cached version. select_related() QuerySet メソッド ... >>> print ( e . blog ) # Doesn't hit the database; uses cached version. >>> print ( e . blog ) # Doesn't h ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
テストツール — Django 4.0.6 ドキュメント 6336
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rce_login ( user , backend = None ) ¶ If your site uses Django's authentication system , you can use the f ... er hasher while testing . logout () ¶ If your site uses Django's authentication system , the logout() meth ... ver listens on localhost and binds to port 0 which uses a free port assigned by the operating system. The ... () def test_fluffy_animals ( self ): # A test that uses the fixtures. call_some_test_code () Here's specif ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
How to manage error reporting — Django 4.0.6 ドキュメント 6207
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ither a view or any regular callback) in your code uses local variables susceptible to contain sensitive i ... ws.debug.SafeExceptionReporterFilter . This filter uses the decorators' annotations to replace the corresp ... ext or HTML appropriately. (The exception reporter uses DEFAULT_EXCEPTION_REPORTER_FILTER when preparing t ...
https://man.plustar.jp/django/howto/error-reporting.html - [similar]
django.contrib.auth — Django 4.0.6 ドキュメント 6207
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t. get_all_permissions ( user_obj , obj = None ) ¶ Uses get_user_permissions() and get_group_permissions() ... j has. has_perm ( user_obj , perm , obj = None ) ¶ Uses get_all_permissions() to check if user_obj has the ... alse . has_perm ( user_obj , perm , obj = None ) ¶ Uses get_all_permissions() to check if user_obj has the ... is present in AUTHENTICATION_BACKENDS . If so, it uses the backend's get_user() method to retrieve the us ...
https://man.plustar.jp/django/ref/contrib/auth.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT