Re: Menu implementation

2007-08-06 Thread Lic. José M. Rodriguez Bacallao
yes

On 7/18/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
>
>
> Lic. José M. Rodriguez Bacallao wrote:
> > Have anybody implemented a tree with django, for example, a menu?
> >
>
> tree = ui or data structurer?  (guessing the answer is yes to both)
>
> Carl K
>
> >
>


-- 
Lic. José M. Rodriguez Bacallao
Cupet
-
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic por
profesionales
-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Menu implementation

2007-07-18 Thread Carl Karsten

Lic. José M. Rodriguez Bacallao wrote:
> Have anybody implemented a tree with django, for example, a menu?
> 

tree = ui or data structurer?  (guessing the answer is yes to both)

Carl K

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Menu implementation

2007-07-18 Thread Jonathan Buchanan

On 7/18/07, Lic. José M. Rodriguez Bacallao <[EMAIL PROTECTED]> wrote:
> Have anybody implemented a tree with django, for example, a menu?
>
> --
> Lic. José M. Rodriguez Bacallao
> Cupet

I've implemented a tree of comments in django-discussion:

http://django-discussion.googlecode.com/svn/trunk/models.py

It shouldn't be too hard to modify that for your own ends if it's
suitable - it uses Modified Preorder Tree Traversal as described here:

http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal

I've also *just about* finished my first hackety stab at a (non
database-backed) Section/Page menu system (where each section may
contain a number of pages) which takes into account which users should
be able to see which links - I'll probably put it on Django Snippets
once it's "working". I'd ideally like to go on to extract a generic
implementation of this functionality, but time is in short supply as
always! :)

Regards,
Jonathan.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---