Browse files

Removed no longer required admin class ugliness.

Now that Django ticket #10208 has been fixed, it's no longer necessary
to specify the excluded form fields again in the ModelAdmin subclass.

This means Django 1.0.3 is the minimum supported version now (anything
after r10620 from the 1.0.X branch in Django's subversion repository
will do).
  • Loading branch information...
1 parent 6158e01 commit 9192b3b5910bedb7c1c3498a2036f1f5026d4b62 Malcolm Tredinnick committed May 17, 2009
Showing with 1 addition and 5 deletions.
  1. +1 −1 README.txt
  2. +0 −4 acacia/
2 README.txt
@@ -35,7 +35,7 @@ create new node names and reparent existing nodes directly.
-This code should run on Python 2.4 or later and Django 1.0.2 or later.
+This code should run on Python 2.4 or later and Django 1.0.3 or later.
Acacia uses django-treebeard_ to provide the underlying tree implementation,
so that will need to be importable before you can use this code
4 acacia/
@@ -43,10 +43,6 @@ def save_m2m(self):
class TopicAdmin(admin.ModelAdmin):
- # XXX: Duplicates the field definitions from the ModelForm, which should be
- # unnecessary. Probably a Django admin bug (if I omit this, every field is
- # shown in the admin form).
- fields = ("name", "parent")
form = TopicForm
def save_form(self, request, form, change):

0 comments on commit 9192b3b

Please sign in to comment.