per page, with , order by , clip by
Results of 1 - 10 of about 32 for patterns (0.004 sec.)
翻訳 12710
翻訳 概要 Django プロジェクトを翻訳可能にするためには、Python コードやテンプレートに、多少のフックを加筆しなければなりません。このフックは 翻訳文字列 と呼ばれます。翻訳文字列は Django に「このテキストに対する翻訳が有効な場合、このテキストは ... ED_APPS are provided in the JavaScript output. デフォルト値を使った例 : from django.views.i18n import JavaScriptCatalog urlpatterns = [ path ( "jsi18n/" , JavaScriptCatalog . as_view (), name = "javascript-catalog" ), ] 独自のパッケージを使った例 : urlpa ... avaScriptCatalog . as_view ( packages = [ "your.app.label" ]), name = "javascript-catalog" , ), ] ルートの URLconf が i18n_patterns() 、 JavaScriptCatalog を使っている場合、カタログが正しく生成されるように i18n_patterns() によるラップも必要となります。 i ... 18n_patterns() を使った例 : from django.conf.urls.i18n import i18n_patterns urlpatterns = i18n_patterns ( path ( "jsi18n/" , JavaScript ...
https://man.mtool.work/django/6.1/topics/i18n/translation.html
Django 1.4.11 リリースノート 10471
Django 1.4.11 リリースノート April 21, 2014 Django 1.4.11 fixes three security issues in 1.4.10. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.6.1). Unexpected code execution u ... sing reverse() Django's URL handling is based on a mapping of regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching a requested URL against those ... . Use of reverse() is encouraged for application developers, as the output of reverse() is always based on the current URL patterns, meaning developers do not need to change other code when making changes to URLs. One argument signature for reverse() is ...
https://man.mtool.work/django/6.1/releases/1.4.11.html
Django 1.5.6 リリースノート 10471
Django 1.5.6 リリースノート April 21, 2014 Django 1.5.6 fixes several bugs in 1.5.5, including three security issues. Unexpected code execution using reverse() Django's URL handling is based on a mapping of regex patterns (representing the ... URLs) to callable views, and Django's own processing consists of matching a requested URL against those patterns to determine the appropriate view to invoke. Django also provides a convenience function -- reverse() -- which performs th ... . Use of reverse() is encouraged for application developers, as the output of reverse() is always based on the current URL patterns, meaning developers do not need to change other code when making changes to URLs. One argument signature for reverse() is ...
https://man.mtool.work/django/6.1/releases/1.5.6.html
Django 1.8.4 リリースノート 10471
Django 1.8.4 リリースノート August 18, 2015 Django 1.8.4 fixes a security issue and several bugs in 1.8.3. Denial-of-service possibility in logout() view by filling session store Previously, a session could be created when anonymously acces ... nstance assignment data loss check to Model.save() to allow easier usage of in-memory models ( #25160 ). Prevented varchar_patterns_ops and text_patterns_ops indexes for ArrayField ( #25180 ). ...
https://man.mtool.work/django/6.1/releases/1.8.4.html
Django 1.8 リリースノート 10100
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... deprecated and will be removed in Django 1.10. You can simply remove the {% load ... from future %} tags. django.conf.urls.patterns() In the olden days of Django, it was encouraged to reference views as strings in urlpatterns : urlpatterns = patterns ( " ... string into a real function reference. In order to reduce repetition when referencing many views from the same module, the patterns() function takes a required initial prefix argument which is prepended to all views-as-strings in that set of urlpatterns ... : urlpatterns = patterns ( "myapp.views" , url ( "^$" , "myview" ), url ( "^other/$" , "otherview" ), ) In the modern era, we have updat ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.6.3 リリースノート 9730
Django 1.6.3 リリースノート April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-incompatible change: Unexpected code execution using reverse() Django's URL handling is based on a ... mapping of regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching a requested URL against those ... . Use of reverse() is encouraged for application developers, as the output of reverse() is always based on the current URL patterns, meaning developers do not need to change other code when making changes to URLs. One argument signature for reverse() is ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
Django 0.96 リリースノート 9166
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... d). This allows a much more natural use of URLconfs. For example, this URLconf: from django.conf.urls.defaults import * urlpatterns = patterns ( "" , ( "^myview/$" , "mysite.myapp.views.myview" )) can now be rewritten as: from django.conf.urls.defaults i ... mport * from mysite.myapp.views import myview urlpatterns = patterns ( "" , ( "^myview/$" , myview )) One useful application of this can be seen when using decorators; this change ... t_detail import object_list from mysite.myapp.models import MyModel info = { "queryset" : MyModel . objects . all (), } urlpatterns = patterns ( "" , ( "^myview/$" , login_required ( object_list ), info )) Note that both syntaxes (strings and callables) ...
https://man.mtool.work/django/6.1/releases/0.96.html
Porting your apps from Django 0.96 to 1.0 9166
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... ing the admin site, you need to update your root urls.py . Old (0.96) urls.py : from django.conf.urls.defaults import * urlpatterns = patterns ( "" , ( r "^admin/" , include ( "django.contrib.admin.urls" )), # ... the rest of your URLs here ... ) New (1. ... e next two lines enable the admin and load each admin.py file: from django.contrib import admin admin . autodiscover () urlpatterns = patterns ( "" , ( r "^admin/(.*)" , admin . site . root ), # ... the rest of your URLs here ... ) ビュー Use django.form ... he end. Now, Django checks to see whether the pattern without the trailing slash would be matched by something in your URL patterns. If so, no redirection takes place, because it is assumed you deliberately wanted to catch that pattern. For most people, ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 1.9 リリースノート 9166
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... the authentication and verification steps of login() . URL Regular expression lookaround assertions are now allowed in URL patterns. The application namespace can now be set using an app_name attribute on the included module or object. It can also be set ... by passing a 2-tuple of (<list of patterns>, <application namespace>) as the first argument to include() . System checks have been added for common URL pattern mista ... a tuple as an argument to include() has been replaced by passing the namespace argument to include() . For example: polls_patterns = [ url ( ... ), ] urlpatterns = [ url ( r "^polls/" , include (( polls_patterns , "polls" , "author-polls" ))), ] は、以下 ...
https://man.mtool.work/django/6.1/releases/1.9.html
Django 2.0.6 リリースノート 8795
Django 2.0.6 リリースノート 2018年6月1日 Django 2.0.6 では、2.0.5 にあったいくつかのバグを修正しました。 バグ修正 Fixed a regression that broke custom template filters that use decorators ( #29400 ). Fixed detection of custom URL converters ... in included patterns ( #29415 ). Fixed a regression that added an unnecessary subquery to the GROUP BY clause on MySQL when using a RawSQL anno ...
https://man.mtool.work/django/6.1/releases/2.0.6.html
PREV 1 2 3 4 NEXT