On Oct 1, 6:20 pm, Marc Aymerich <glicer...@gmail.com> wrote:
> On Sat, Oct 1, 2011 at 8:56 AM, Tony <khoi....@gmail.com> wrote:
> > Hello,
>
> > I am new to Django and I have a question about module or plugin
> > architecture.
> > Is it possible to write a module with Django and add it to a current
> > Django application.
>
> It depends basically on each concrete project, if there is implemented
> a plugin mechanism or not. BTW, django provide some signals[1] and
> middlwares [2] that can helps you to accomplish what you want. If you
> don't have enough with this, always you can create a new app and
> inherit from the classes of the existing app that you want to modify.
>
> [1]https://docs.djangoproject.com/en/dev/topics/signals/
> [2]https://docs.djangoproject.com/en/dev/topics/http/middleware/

One example of a project that does this is Merengue - see:
http://docs.merengueproject.org/intro/overview.html#a-pluggable-architecture

Derek

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to