Django: Admin with multiple sites & languages

Posted by lazerscience on Stack Overflow See other posts from Stack Overflow or by lazerscience
Published on 2010-05-02T21:33:20Z Indexed on 2010/05/02 21:37 UTC
Read the original article Hit count: 316

Hi everybody! I'm supposed to build some Django apps, that allow you to administer multiple sites through one backend. The contrib.sites framework is quite perfect for my purposes. I can run multiple instances of manage.py with different settings for each site; but how should django's admin deal with different settings for different sites, eg. if they have different sets of languages, a different (default) language? So there are some problem s to face if you have to work on objects coming from different sites in one admin...

I think settings.ADMIN_FOR is supposed to be quite helpful for cases like this, but theres hardly any documentation about it and I think it's not really used in the actual Django version (?).

So any ideas/solutions are welcome and much appreciated! Thanks a lot...

© Stack Overflow or respective owner

Related posts about django

Related posts about multiple-sites