Re: Tree view me

2010-05-14 Thread Peter Herndon
scenese that > confuses me. If somebody can tell me if this is possible, i can spend > may be a day or more looking into it, else I will probably go for php > stuff Django is front-end agnostic. There may be individual reusable apps that provide what you need, but Django itself does not

Tree view me

2010-05-14 Thread cyrux cyrux
I have a simple task to accomplish. I have some hierarchal data in my database which needs to be displayed in a UI. It needs to be simple and preferably in a expandable tree format (although a non -expandable should work as well). This is what I am looking for http://source.mihelac.org/x/treetable/

Re: formatting queryset for tree view

2008-07-27 Thread Matthias Kestenholz
rue) > > make_model = models.CharField(max_length = 200, verbose_name = > "Make & Model", blank = True) > > I have to show these products in a tree view in template. Here > product-1 can have a subproduct prouduct-2 and product-2 can have a > subproduct prouduct-3

formatting queryset for tree view

2008-07-25 Thread Leppy
;sl.no. of the containing component", blank = True, null = True) sl_no = models.CharField(max_length = 200, verbose_name = "Serial No.", blank = True) make_model = models.CharField(max_length = 200, verbose_name = "Make & Model", blank = True) I have t

formatting queryset for tree view

2008-07-25 Thread Leppy
;sl.no. of the containing component", blank = True, null = True) sl_no = models.CharField(max_length = 200, verbose_name = "Serial No.", blank = True) make_model = models.CharField(max_length = 200, verbose_name = "Make & Model", blank = True) I have t

Displaying a Tree view in template using django-mptt

2008-02-25 Thread Manakel
Hello Dear all, First let me say that i'm very new in term of web based developpemnt (the HTML/CSS Part). i've always worked on backend logic (in java, python, etc) never on the end user interface directly. This said, i'm trying to use the django-mptt to install a simple hierarchy in my firs

Re: Tree View

2006-02-05 Thread Jacob Kaplan-Moss
On Feb 5, 2006, at 5:00 PM, Max Battcher wrote: It's still not semantic (uses presentation style instead of nested s). It's looking like if I really want a true list view I need to build a custom tag. Right now I think I'm just going to spread the tree out across the URL space. You migh

Re: Tree View

2006-02-05 Thread Max Battcher
Julio Nobrega wrote: 's are possible, it's in fact what I use on my (to-be) site: {% for node in node_tree %} {{ node.body }} {% endfor %} It's still not semantic (uses presentation style instead of nested s). It's looking like if I really want a true list view

Re: Tree View

2006-02-04 Thread Julio Nobrega
's are possible, it's in fact what I use on my (to-be) site: {% for node in node_tree %} {{ node.body }} {% endfor %} Screenshot of (a more styleshed) output here: http://static.flickr.com/42/95381035_a51eb622dc_o.png On 2/4/06, Max Battcher <[EMAIL PROTECTED]> wr

Re: Tree View

2006-02-04 Thread Max Battcher
akaihola wrote: See these cookbook recipes for ideas: http://code.djangoproject.com/wiki/CookBookCategoryDataModel I was using this already. http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal Thanks. That's a start. I was hoping for something a bit wiser and more generic,

Re: Tree View

2006-02-04 Thread akaihola
See these cookbook recipes for ideas: http://code.djangoproject.com/wiki/CookBookCategoryDataModel http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal I use a custon template tag to make a tree-like navigation menu by turning the tree into a straight list with depth information on ea

Tree View

2006-02-03 Thread Max Battcher
I hit a wall and was wondering if anyone else has hit this particular wall. I wanted a simple "tree view" generated from my model. I figured I might be able to do this nicely with a recursive template, but as far as I can tell after only 3 levels (2 {% include %} blocks) (comp