On 8/6/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote:
>
> On 6 Aug 2006, at 6:08, limodou wrote:
> > A very cool tool. And a question:
> >
> > It seems that it can not display OneToOne relationship.
>
> I just fixed it to support both OneToOneFields and GenericRelations.
> I also added lots of samples from Ian's Zyons project:
>
>   http://code.djangoproject.com/wiki/DjangoGraphviz
>
> Cheers!

Great works!

And if the OneToOne relationship can be displayed just as ForeignKey,
is this resonable?

And you can also add these code at the top of your script:

import settings
from django.core.management import setup_environ
setup_environ(settings)

So you don't need to setup DJANGO_SETTING_MODULE env variable any
more. But the settings module should be settings.

Good work, I like it.

And other suggestion is: can methods be displayed in dot?

-- 
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to