Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Model validation error with django 1.1.2 #500

Closed
vdboor opened this Issue · 1 comment

2 participants

@vdboor

With django 1.1.2 I get a validation error for django-cms 2.0.2.

Here is a simple fix for the problem:

diff --git a/cms/admin/pageadmin.py b/cms/admin/pageadmin.py
--- a/admin/pageadmin.py
+++ b/admin/pageadmin.py
@@ -56,7 +56,7 @@ class PageAdmin(admin.ModelAdmin):
     revision_form_template = "admin/cms/page/revision_form.html"
     recover_form_template = "admin/cms/page/recover_form.html"

-    exclude = ['created_by', 'changed_by', 'lft', 'rght', 'tree_id', 'level']
+    exclude = []
     mandatory_placeholders = ('title', 'slug', 'parent', 'site', 'meta_description', 'meta_keywords', 'page_title', 'menu_title')
     top_fields = []
     general_fields = ['title', 'slug', ('published', 'in_navigation')]
@digi604
Collaborator

closing this as too old and django version is not supported anymore

@digi604 digi604 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.