Oh, and it automatically filters the model's querysets by the current  
site. Kinda important that it does that, and I forgot to mention it,  
heh.

Cheers,

Mike


On 27 Apr 2008, at 18:29, Mike H wrote:

>
> Hi all,
>
> I've been putting together a site using projects from
> djangopluggables.com. It's been going great, except in one area. My
> site is going to run across various subdomains, and you will see
> different groups, forums, blog etc. depending on which subdomain you
> go to (it's like a create-your-own-community style thing). So I've got
> a site for each subdomain, and a settings file that sets each one up
> correctly. I wanted to use django-forum, coltrane and a couple of
> other things with those sites, but I didn't want to go round modifying
> their code to be aware of the sites.
>
> So I wrote an app that lets you register each model you want filtered
> by site. It automatically adds a site attribute, alters your unique
> constraints, and sets the current site on save. Now I can use the
> great code in those third party apps across all my subdomains, without
> modification!
>
> The project is at http://code.google.com/p/django-sites-integration/
>
> I know it's probably going to be of limited appeal, but it was very
> useful for me, so hopefully someone else will have use for it.
>
> Cheers,
>
> Mike H
>
> 

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

Reply via email to