Re: Security in AJAX POSTing

2008-12-19 Thread Srdjan Popovic
Taylor, If you are worried about POST data submitted through Ajax request coming from another site, you should remember that browsers do not allow XMLHttpRequest to be sent to other domains. Having said that, you can still use the CSRF middleware for your non-Ajax requests. A couple of

Re: RHEL 5.2 + mysql + Django 1.0 => Django 0.95.4

2008-12-16 Thread Srdjan Popovic
I had the same situation as my server is CentOS 5.2. Django needed MySQL-python 1.2.2. I tried Yum but the default repo gave me version 1.2.1. You can find version 1.2.2 at SourceForge, but to install it you need to have MySQL development tools installed on your server. The package is called

Re: POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
Thanks for your reply. I have just tried to send one message through Python script and the other from Outlook to my GMX account and here are the headers: FROM PYTHON (CONSIDERED SPAM): Return-Path: <[EMAIL PROTECTED]> X-Flags: Delivered-To: GMX delivery to [EMAIL PROTECTED] Received:

POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
I have recently started a new Django website, www.darela.com, and I have some problems with sending automatic mails. This is a community website, where consultants, contractors and other specialists can present themselves, publish their profiles and describe their skills and experience, publish