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 I need to 
build a custom tag.  Right now I think I'm just going to spread the tree 
out across the URL space.


--
--Max Battcher--
http://www.worldmaker.net/


relating ManyToMany to itself

2006-02-05 Thread Brice Carpentier

Hi,
I've got an Article object (what a surprise !), and was willing to
relate it to other articles
My initial plan was to use a ManyToMany relationship, but it doesn't
seem to be possible (I tried specifying "self").
I also tried to specify my ManyToMany relationship using an
intermediary table, but this doesn't seem to be edited inline (I get a
"bool object is not callable" error). Am I missing something ?
Regards,
--
Brice Carpentier aka Br|ce


Re: Magic removal

2006-02-05 Thread quentinsf

Yes, the magic removal stuff will mean quite a lot of changes for me
too.  But I think the platform will be greatly improved as a result,
and fortunatley my app hasn't grown too large yet!

One thing I love about Django is how well Adrian and co usually go
about documenting the changes.

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

for those who haven't seen it.



Re: Making Django Development server available to local network.

2006-02-05 Thread Jan Rademaker


Panos Laganakos wrote:
> Hello,
>
> I am using a local server for all web development stuff. So I set up
> django on it and started the tutorial.
>
> Thing is, that when I try '$ python manage runserver 10.0.0.3:8000' to
> start the server, it won't make it available to the network.

You could try 'manage runserver 0:8000' so it won't bind to a specific
interface/ip address.

-janr



Making Django Development server available to local network.

2006-02-05 Thread Panos Laganakos

Hello,

I am using a local server for all web development stuff. So I set up
django on it and started the tutorial.

Thing is, that when I try '$ python manage runserver 10.0.0.3:8000' to
start the server, it won't make it available to the network.

I tried doing it with admin privileges, but still the other machines
can't browse it. Apache is showing fine to the local network, so I
suppose I must be doing something wrong with django's DS.



Re: Serving xhtml with correct mime-type

2006-02-05 Thread Ashocka

Yes, I did find it, thanks.  And in general that is one thing that has
impressed me about django, that there are pretty good docs, presented
very clearly.  It engenders confidence.


Geoff



Re: _manipulator_validate_FOO() , i need help.

2006-02-05 Thread coulix

i just need an example of _manipulator_validate_foo(..).