On Mon, 2009-03-23 at 14:20 +0100, Gabriel Rossetti wrote:
> Hello everyone,
> 
> I have a project that has two apps that use the same models (I moved it 
> out of the apps, up to the project's root). I was wondering if it is 
> possible to have global middleware (that they both need) and per app 
> middleware (sspecific to each app). I don't want one app's middleware to 
> intercept and process the other app's stuff, does anyone know how to do 
> this?

Middleware doesn't make sense on a per-app basis. It is run *before* any
view dispatching is done (and views aren't even tied to applications).
So the answer to your question is "no".

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to