The django CMS official blog

03
Jul

django CMS 3 Beta 2

We just released beta 2 for the 3.0 release.

Apphooks

Apphooks have been reworked and now support namespaces so they can be attached to multiple pages. On top of this, you don't need apphooks for every language.

Toolbar API stabilized

The toolbar API is now stable and should not be changing in the near future. It is the preferred way to allow your apps and apphooks to get admin functionality in the frontend (besides placeholders).

What has changed since beta1?

  • Added (optional) language fallback for placeholders
  • Moved apphooks from title to page model so we need to add them only once
  • request.current_app has been removed
  • Added a namespace field, reverse_id is not used anymore for apphook namespaces
  • PlaceholderAdmin do not have LanguageTabs anymore, only a PluginAPI
  • PageAdmin uses the same Plugin API as PlaceholderAdmin
  • Toolbar API for your own apps added
  • New tree icons and design
  • PageAdmin and PlaceholderAdmin use now the same base class

We also fixed a lot of bugs and optimized the workflow considerably with the new toolbar. 

What is left to do?

  • Browser testing and fixing of the new frontend
  • Translations of the new strings
  • Making the CMS easier to install and getting started
  • Fixing all remaining bugs
  • django 1.5 custom user support

We could use a hand or two to bring this baby to RC1 status. Easier tasks are translations and browser testing of the new frontend. You can find easy coding tasks on github market: easy picking. It would also help if you start using it on your projects, this would ensure we get edge case bug reports faster.

At Divio we have already started using 3.0 for projects, from this we discovered and fixed the nastiest bugs. We hope to get to a RC1 status asap. 

If you want to upgrade please follow this guide.

Full Changelog for 3.0:

  • Plugins are only editable in frontend
  • PluginEditor has been removed in backend
  • New frontend editing- New Toolbar
  • Plugin API for creating new plugins and moving has changed
  • render_to_response replaced with TemplateResponse in cms.views
  • CMS_SEO_FIELDS removed and seo fields better integrated
  • meta_keywords field removed as not relevant anymore
  • CMS_MENU_TITLE_OVERWRITE default changed to True
  • Toolbar has language switcher built in
  • User settings module added for saving the language of the user, when switching languages the toolbar/interface  maintains the language
  • language_chooser templatetag now only displays public languages, even when you are logged in as staff
  • undo and redo functionality added in toolbar if django-reversion is installed
  • page admin split in 3 different for basic, advanced and permissions
  • New show_editable_page_title templatetag to edit page title from the frontend
  • Removed PLACEHOLDER_FRONTEND_EDITING setting
  • Removed CMS_URL_OVERWRITE setting. Always enabled
  • Removed CMS_MENU_TITLE_OVERWRITE settings. Always enabled
  • Removed CMS_REDIRECTS. Always enabled
  • Removed CMS_SOFTROOT. Always enabled
  • Removed CMS_SHOW_START_DATE. Always enabled
  • Removed CMS_SHOW_END_DATE. Always enabled
  • Added (optional) language fallback for placeholders
  • moved apphooks from title to page model so we need to add them only once
  • request.current_app has been removed
  • added a namespace field, reverse_id is not used anymore for apphook namespaces
  • PlaceholderAdmin does not have LanguageTabs anymore. It only has a PluginAPI now
  • PageAdmin uses the same Plugin API as PlaceholderAdmin
  • Toolbar API for your own apps added
  • twitter plugin removed
blog comments powered by Disqus