librelist archives

« back to archive

Documentation: Hooking into Django

Documentation: Hooking into Django

From:
Bernt Røskar Brenna
Date:
2009-08-23 @ 20:57
You could perhaps mention that it is possible to hook into Django by
writing custom django-admin commands?

I'm not really familiar with Lamson, so I don't know if this approach
is a good match for the typical use cases. So feel free to ignore my
suggestion.

Documented here:

http://docs.djangoproject.com/en/dev/howto/custom-management-commands/#howto-custom-management-commands

--
Bernt R. Brenna
http://codemonkeydo.blogspot.com

Re: Documentation: Hooking into Django

From:
Zed A. Shaw
Date:
2009-08-24 @ 00:47
On Sun, Aug 23, 2009 at 10:57:11PM +0200, Bernt Røskar Brenna wrote:
> You could perhaps mention that it is possible to hook into Django by
> writing custom django-admin commands?

I'll research this more, but it looks like this would be for giving
Django special access to Lamson's internals, not the other way around.
What I have in those docs is Lamson going into Django.

But, I'll look at this and see if it's got some tricks.

-- 
Zed A. Shaw
http://zedshaw.com/