per page, with , order by , clip by
Results of 1 - 10 of about 32 for syntax (0.004 sec.)
Porting your apps from Django 0.96 to 1.0 12146
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 ... ite.register() call in an admin.py file. Below are some more details on how to rewrite that Admin declaration into the new syntax. Use new inline syntax The new edit_inline options have all been moved to admin.py . Here's an example: Old (0.96): class ... rent , ParentAdmin ) See InlineModelAdmin オブジェクト for more details. Simplify fields , or use fieldsets The old fields syntax was quite confusing, and has been simplified. The old syntax still works, but you'll need to use fieldsets instead. Old (0 ... forms module was also removed. If you're already using the newforms library, and you used our recommended import statement syntax, all you have to do is change your import statements. Old: from django import newforms as forms New: from django import fo ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 1.8 リリースノート 11840
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... d form_class defaults to get_form_class() . Placeholders in ModelFormMixin.success_url now support the Python str.format() syntax. The legacy %(<foo>)s syntax is still supported but will be removed in Django 1.10. 国際化 (internationalization) FORMAT_M ... loads Django templates from a Python dictionary. The now tag can now store its output in a context variable with the usual syntax: {% now 'j n Y' as varname %} . Request と Response WSGIRequest now respects paths starting with // . The HttpRequest.buil ... of template tags from future library Django 1.6 introduced {% load cycle from future %} and {% load firstof from future %} syntax for forward compatibility of the cycle and firstof template tags. This syntax is now deprecated and will be removed in Dja ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.9.2 リリースノート 10648
Django 1.9.2 リリースノート February 1, 2016 Django 1.9.2 fixes a security regression in 1.9 and several bugs in 1.9.1. It also makes a small backwards incompatible change that hopefully doesn't affect any users. Security issue: User with " ... kwards incompatible change: .py-tpl files rewritten in project/app templates The addition of some Django template language syntax to the default app template in Django 1.9 means those files now have some invalid Python syntax. This causes difficulties ...
https://man.mtool.work/django/6.1/releases/1.9.2.html
Django 1.9 リリースノート 10358
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... libraries to be provided explicitly via the 'libraries' key of OPTIONS when defining a DjangoTemplates backend. Import or syntax errors in template tag modules now fail early at instantiation time rather than when a template with a {% load %} tag is f ... with this structure: app/static/admin/js/vendor/ jquery.js jquery.min.js Django setuptools 5.5.x をインストールするときの SyntaxError Django 1.9 や 1.9.1 を setuptools 5.5.x でインストールすると、次のように表示されます: Compiling django/conf/app_templ ... ate/apps.py ... File "django/conf/app_template/apps.py" , line 4 class {{ camel_case_app_name }} Config ( AppConfig ) : ^ SyntaxError: invalid syntax Compiling django/conf/app_template/models.py ... File "django/conf/app_template/models.py" , line 1 { ...
https://man.mtool.work/django/6.1/releases/1.9.html
Django 1.5 リリースノート 9762
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 ... ld read that list carefully. One deprecated feature worth noting is the shift to "new-style" url tag. Prior to Django 1.3, syntax like {% url myview %} was interpreted incorrectly (Django considered "myview" to be a literal name of a view, not a templa ... te variable named myview ). Django 1.3 and above introduced the {% load url from future %} syntax to bring in the corrected behavior where myview was seen as a variable. The upshot of this is that if you are not using {% ... e accordingly. {% verbatim %} template tag To make it easier to deal with JavaScript templates which collide with Django's syntax, you can now use the verbatim block tag to avoid parsing the tag's content. Retrieval of ContentType instances associated ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.7 リリースノート 9762
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... s() method may be overridden to customize the value of ModelAdmin.fields . In addition to the existing admin.site.register syntax, you can use the new register() decorator to register a ModelAdmin . You may specify ModelAdmin.list_display_links = None ... sole, including requests for static files or favicon.ico that used to be filtered out. Management commands can now produce syntax colored output under Windows if the ANSICON third-party tool is installed and active. collectstatic command with symlink o ... less magic. Rationale behind this is removal of dependency of non-contrib code on contrib applications. The old cache URI syntax (e.g. "locmem://" ) is no longer supported. It still worked, even though it was not documented or officially supported. If ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 4.2.17 リリースノート 9456
Django 4.2.17 リリースノート 2024年12月4日 Django 4.2.17 では 4.2.16 におけるセキュリティの問題のうち 深刻度 "high" 1件と深刻度 "moderate" 1件を修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_tags() would be extr ... ubject to SQL injection if untrusted data was used as a lhs value. Applications that use the has_key lookup through the __ syntax are unaffected. ...
https://man.mtool.work/django/6.1/releases/4.2.17.html
Django 5.0.10 リリースノート 9456
Django 5.0.10 リリースノート 2024年12月4日 Django 5.0.10 では 5.0.9 におけるセキュリティの問題のうち 深刻度 "high" 1件と深刻度 "moderate" 1件を修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_tags() would be extre ... ubject to SQL injection if untrusted data was used as a lhs value. Applications that use the has_key lookup through the __ syntax are unaffected. ...
https://man.mtool.work/django/6.1/releases/5.0.10.html
Django 5.1.4 リリースノート 9166
Django 5.1.4 リリースノート 2024年12月4日 Django 5.1.4 では、 5.1.3 におけるセキュリティの問題のうち深刻度 "high" 1件、深刻度 "moderate" 1件を含め、いくつかのバグを修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_ ... ubject to SQL injection if untrusted data was used as a lhs value. Applications that use the has_key lookup through the __ syntax are unaffected. バグ修正 Fixed a crash in createsuperuser on Python 3.13+ caused by an unhandled OSError when the username ...
https://man.mtool.work/django/6.1/releases/5.1.4.html
Django 1.4.4 リリースノート 8570
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... ugfixes and changes Prevented transaction state from leaking from one request to the next (#19707). Changed an SQL command syntax to be MySQL 4 compatible (#19702). Added backwards-compatibility with old unsalted MD5 passwords (#18144). Numerous docume ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
PREV 1 2 3 4 NEXT