On 7/17/06, Andrew <[EMAIL PROTECTED]> wrote:
> I started a simple little app to display a Graphviz diagram based off
> the Django models.
>
> It's simple and not so purty, but it's a start.  It also requires
> graphviz to be installed and in the path.

You might a settings option to specify the graphviz path.  Fall back
to assuming it's already there if the setting isn't available.

Sorta like JING_PATH:
http://www.djangoproject.com/documentation/settings/#jing-path

If you're intending for this to be used outside of development, stash
the results of dot generation in cache.  Maybe have a url parm that
invalidates the cache for the rare non-dev model changes.

Anyway, nice.  :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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