Comments on: Django admin and MPTT #2 http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/ At the core of all well-founded belief lies belief that is unfounded - Wittgenstein Mon, 03 Sep 2012 13:17:15 +0000 hourly 1 https://wordpress.org/?v=5.2.11 By: Jonas http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-90 Mon, 03 Sep 2012 13:17:15 +0000 http://magicrebirth.wordpress.com/?p=275#comment-90 Hey, thanks for this. Just wondering if there is a way of doing this without FeinCMS three years later?
Thanks

]]>
By: mike http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-89 Fri, 02 Jul 2010 14:50:28 +0000 http://magicrebirth.wordpress.com/?p=275#comment-89 thanks – you’re right the pattern variable disappeared! I fixed the code above..

]]>
By: sjh http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-88 Fri, 02 Jul 2010 09:34:54 +0000 http://magicrebirth.wordpress.com/?p=275#comment-88 Heya,

This was really helpful, Can confirm it worked fine with with django 1.2.1 & feincms 1.1.2, however in step 4 the pattern name is missing, presumably sanitised & removed because it looks like a html tag

ms_media/(?P here .*)$’, ‘djang

]]>
By: Отображение древовидных данных в админке. http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-87 Thu, 15 Apr 2010 19:18:39 +0000 http://magicrebirth.wordpress.com/?p=275#comment-87 […] Угу. Буквально пять минут назад нашёл описание как выдрать из feincms интерфейс для показа mptt-дерева: http://magicrebirth.wordpress.com/2009/08/18/django-admin-and-mptt-2/ […]

]]>
By: andreas http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-86 Mon, 15 Mar 2010 13:08:03 +0000 http://magicrebirth.wordpress.com/?p=275#comment-86 ok i solved using this version of django-mptt
http://github.com/bfirsh/django-mptt

the trunk on googlecode wasnt working at all for me.

]]>
By: Vovk Donets http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-85 Fri, 12 Mar 2010 10:12:51 +0000 http://magicrebirth.wordpress.com/?p=275#comment-85 i tryed it, but wasn’t able to use it. ‘coz was having an error

unsupported operation -: ‘unicode’ and ‘unicode’

in getattr(self, self._meta.left_attr) – 1) / 2
does anyone know how to fix it?

]]>
By: andreas http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-84 Tue, 09 Mar 2010 08:45:30 +0000 http://magicrebirth.wordpress.com/?p=275#comment-84 im still stuck on this error. i really dont understand, the model is not registered twice and it really doesnt work even by copy pasting the code above.
django is 1.1.1
mptt is 0.3-pre

my traceback: http://pastebin.com/4F2sfJ2f

any help is appreciated :)

]]>
By: magicrebirth http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-83 Thu, 18 Feb 2010 05:05:50 +0000 http://magicrebirth.wordpress.com/?p=275#comment-83 thanks – that’s pretty useful to know!

]]>
By: magicrebirth http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-82 Thu, 18 Feb 2010 05:04:31 +0000 http://magicrebirth.wordpress.com/?p=275#comment-82 @ Qrilka: thanks ;-)

]]>
By: Qrilka http://www.michelepasin.org/blog/2009/08/18/django-admin-and-mptt-2/comment-page-1/#comment-81 Wed, 17 Feb 2010 22:20:28 +0000 http://magicrebirth.wordpress.com/?p=275#comment-81 BTW in source code with red background you have GenericPossessionsAdmin instead of TreeNodeAdmin

]]>