Suggestion: make auth login view more dynamic

2012-05-23 Thread Hedde van der Heide
I couldn't find an existing ticket but I'd like to suggest a change to make the basic auth view more dynamic (I'm not fond of hardcoded context variables :-)) change: def login(request, template_name='registration/login.html', redirect_field_name=REDIRECT_FIELD_NAME, authenti

Re: Multi-tenant Django

2012-05-23 Thread Josh Cartmell
I wanted to point out that Mezzanine doesn't actually just use django.contrib.sites. Mezzanine uses django.contrib.sites and thread locals. The way it is set up example1.com and example2.com can both be driven by the exact same django instance but have different content. The third paragraph in t

Re: Multi-tenant Django

2012-05-23 Thread Anssi Kääriäinen
On May 23, 3:16 am, Anthony Briggs wrote: > I did a similar thing for some of my projects - the problem is that you > can't reuse any non-multitenant apps without hacking the multitenant stuff > in first, ie. it's a bit of a hack, plus it makes things harder to maintain > going forwards. > > One d

Re: Redesign of djangoproject.com?

2012-05-23 Thread Ashraful Sheikh
Hi everyone, I saw this on HackerNews(news.ycombinator.com) and wanted to contribute. Here is my mockup: http://i.imgur.com/dSMSJ.jpg With the design, I focused on keeping the look extremely clean, professional and minimalistic. The content is based on that of the current site. The mockup may

Re: Multi-tenant Django

2012-05-23 Thread schinckel
I played around a bit with using this, and got something quite workable going on. https://bitbucket.org/schinckel/django-multi-schema It's really only an exploration, but does show that it can be done. The problems actually really only got hard once you factor south into the equation. There a

Re: Redesign of djangoproject.com?

2012-05-23 Thread Łukasz Rekucki
On 24 May 2012 02:36, Ashraful Sheikh wrote: > Hi everyone, > > I saw this on HackerNews(news.ycombinator.com) and wanted to contribute. > Here is my mockup: http://i.imgur.com/dSMSJ.jpg > > With the design, I focused on keeping the look extremely clean, professional > and minimalistic. The conten