How write unit test for forms that download PDF file

2009-11-16 Thread JohnL
On my website http://www.mathmaster.org, I have a lot of forms that generated a PDF math worksheets file after the user click the submit button. The way I test these pages is using the code similar to this method: def test_addition_post(self): post_data = { 'max_value': 10,

Re: Django-Registration and Email Permission

2009-11-05 Thread JohnL
Some on Linode IRC suggests that I install ssmtp package...I followed the instruction found here http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/ and reboot the servers...everything works great now. On Nov 5, 12:19 pm, mm wrote: > Hello, > > I am using Djang

Deploying Django to production environment

2009-11-03 Thread JohnL
Hi All, I just joined linode and followed there instructions in setting up Django at http://library.linode.com/lamp-guides/ubuntu-9.10-karmic/. ServerAdmin squ...@bucknell.net ServerName bucknell.net ServerAlias www.bucknell.net DocumentRoot /srv/www/bucknell.net/public_htm