Re: About Site in django

2008-08-27 Thread Ronny Haryanto
On Thu, Aug 28, 2008 at 8:27 AM, PENPEN <[EMAIL PROTECTED]> wrote: > I have a question on the site concept. > While reading the source code, I found that there is the site related > statement in django.contrib.auth.views.login: > >if Site._meta.installed: >current_site = Site.objects.g

About Site in django

2008-08-27 Thread PENPEN
Hi there, I have a question on the site concept. While reading the source code, I found that there is the site related statement in django.contrib.auth.views.login: if Site._meta.installed: current_site = Site.objects.get_current() else: current_site = RequestSite(request)