Re: scaling my site

2010-07-25 Thread zenr
o the same host that is used for scaling web page serving can also be used for scaling databases, thus saving money. zenr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups

Re: CSRF verification failed - 403 error

2010-07-17 Thread zenr
Hi I always had context_instance=RequestContext(request) in the render_to_response function. Is there anything else I need to check? Ravi On Jul 16, 5:23 pm, Joel Klabo wrote: > I had this same problem. Try this for your return statements, if > you're using

CSRF verification failed - 403 error

2010-07-16 Thread zenr
I am having some problems with CSRF and I need some directions. In my project (using version 1.2 django), I have included both CSRFResponseMiddleware and CSRFViewMiddleware in the settings.py file. I also including the tag {% csrf_token %} in my template next to the form tag. Even after all

Re: Newbie question regarding User and Anonymous user

2010-04-06 Thread zenr
the instance of the User class to None. Ravi On Apr 6, 9:26 am, Karen Tracey <kmtra...@gmail.com> wrote: > On Mon, Apr 5, 2010 at 3:32 PM, zenr <zenr...@gmail.com> wrote: > >  In my application, I used django-registration to allow users to > > login. Authenticated

Newbie question regarding User and Anonymous user

2010-04-05 Thread zenr
Hi In my application, I used django-registration to allow users to login. Authenticated users can use all features of the site while Anonymous user should be able to use some portion of the site. When django makes a request for an authenticated user, it creates a request.user object that is