Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
digi604 committed Mar 5, 2014
1 parent 6326bee commit e151faf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -217,3 +217,4 @@ Please see Install/2.4 release notes *before* attempting to upgrade to version 2
- CMS_PAGE_CACHE, CMS_PLACEHOLDER_CACHE and CMS_PLUGIN_CACHE settings and functionality added. Default is True
- Detect admin object creation and changes via toolbar and redirect to them.
- Added support for custom user models
- Added PageTypes
3 changes: 2 additions & 1 deletion cms/admin/pageadmin.py
Expand Up @@ -225,7 +225,8 @@ def save_model(self, request, obj, form, change):
obj.site_id = site_id
obj.reverse_id = None
obj.save()
copy_target._copy_contents(obj, form.cleaned_data['language'])
for lang in copy_target.languages.split(','):
copy_target._copy_contents(obj, lang)
if not 'permission' in request.path:
language = form.cleaned_data['language']
Title.objects.set_or_create(
Expand Down
7 changes: 7 additions & 0 deletions docs/upgrade/3.0.rst
Expand Up @@ -44,6 +44,13 @@ objects. See :doc:`../extending_cms/toolbar`.
toolbar to work. See :ref:`Enable messages <enable-messages>` for how to
enable it.

New Page Types
==============

You can now save pages as page types. If you then create a new page you may
select a page type and all plugins and contents will be pre-filled.


Experimental Python 3.3 support
===============================

Expand Down

0 comments on commit e151faf

Please sign in to comment.