发布于 2016-06-10 00:56:37 | 182 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Django教程,程序狗速度看过来!

Django Python WEB开发框架

Django是一个开放源代码的Web应用框架,由Python写成。采用了MVC的软件设计模式,即模型M,视图V和控制器C。它最初是被开发来用于管理劳伦斯出版集团旗下的一些以新闻内容为主的网站的,即是CMS(内容管理系统)软件。并于2005年7月在BSD许可证下发布。这套框架是以比利时的吉普赛爵士吉他手Django Reinhardt来命名的。


Django CMS 3.3 发布,更新内容如下:

  • Removed support for Django 1.6, 1.7 and python 2.6

  • Changed the default value of CMSPlugin.position to 0 instead of null

  • Refactored the language menu to allow for better integration with many languages

  • Refactored management commands completely for better consistency

  • Fixed “failed to load resource” for favicon on welcome screen

  • Changed behaviour of toolbar CSS classes: cms-toolbar-expanded class is only added now when toolbar is fully expanded and not at the beginning of the animation. cms-toolbar-expanding andcms-toolbar-collapsing classes are added at the beginning of their respective animations.

  • Added unit tests for CMS JavaScript files

  • Added frontend integration tests (written with Casper JS)

  • Removed frontend integration tests (written with Selenium)

  • Added the ability to declare cache expiration periods on a per-plugin basis

  • Improved UI of page tree

  • Improved UI in various minor ways

  • Added a new setting CMS_INTERNAL_IPS for defining a set of IP addresses for which the toolbar will appear for authorized users. If left unset, retains the existing behavior of allowing toolbar for authorized users at any IP address.

  • Changed behaviour of sideframe; is no longer resizable, opens to 90% of the screen or 100% on small screens.

  • Removed some unnecessary reloads after closing sideframe.

  • Added the ability to make pagetree actions work on currently picked language

  • Removed deprecated CMS_TOOLBAR_SIMPLE_STRUCTURE_MODE setting

  • Introduced the method get_cache_expiration on CMSPluginBase to be used by plugins for declaring their rendered content’s period of validity.

  • Introduced the method get_vary_cache_on on CMSPluginBase to be used by plugins for declaring VARY headers.

  • Improved performance of plugin moving; no longer saves all plugins inside the placeholder.

  • Fixed breadcrumbs of recently moved plugin reflecting previous position in the tree

  • Refactored plugin adding logic to no longer create the plugin before the user submits the form.

  • Improved the behaviour of the placeholder cache

  • Improved fix-tree command to sort by position and path when rebuilding positions.

  • Fixed several regressions and tree corruptions on page move.

  • Added new class method on CMSPlugin requires_parent_plugin

  • Fixed behaviour of get_child_classes; now correctly calculates child classes when not configured in the placeholder.

  • Removed internal ExtraMenuItems tag.

  • Removed internal PluginChildClasses tag.

  • Modified RenderPlugin tag; no longer renders the content.html template and instead just returns the results.

  • Added a get_cached_template method to the Toolbar() main class to reuse loaded templates per request. It works like Django’s cached template loader, but on a request basis.

  • Added a new method get_urls() on the appbase class to get CMSApp.urls, to allow passing a page object to it.

  • Changed JavaScript linting from JSHint and JSCS to ESLint

  • Fixed a bug when it was possible to drag plugin into clipboard

  • Fixed a bug where clearing clipboard was closing any open modal

  • Added CMS_WIZARD_CONTENT_PLACEHOLDER setting

  • Renamed the CMS_WIZARD_* settings to CMS_PAGE_WIZARD_*

  • Deprecated the old-  wizard-related settings

  • Improved documentation further

  • Improved handling of uninstalled apphooks

  • Fixed toolbar placement when foundation is installed

  • Fixed an issue which could lead to an apphook without a slug

  • Fixed numerous frontend issues

  • Added contribution policies documentation

  • Corrected an issue where someone could see and use the internal placeholder plugin in the structure board

  • Fixed a regression where the first page created was not automatically published

  • Corrected the instructions for using the delete-orphaned-plugins command

  • Re-pinned django-treebeard to >=4.0.1

更多介绍请看:



历史版本 :
Django 2.0 正式发布,Python 的 Web 框架
DjangoX v0.4.1 发布, Django 强大灵活后台系统
Django 2.0 beta 1 发布,Python 的 Web 框架
Django 2.0 beta 发布,Python 的 Web 框架
Django 1.11.6 发布,Python 的 Web 框架
Django 2.0a1 发布,Python 的 Web 框架
Django 1.11.5 和 1.10.8 发布,修复安全问题
DjangoX v0.4.0 发布, Django 强大灵活后台系统
Django 1.11.4 发布,Python 的 Web 框架
Django 1.11.3 发布,Python 的 Web 框架
Django 1.11.1 发布,Python 的 Web 框架
Django 1.10.6 发布,Python 的 Web 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务