Re: writing unit tests for views?

2008-07-16 Thread pgb
On 15 Lip, 20:54, bshaurette <[EMAIL PROTECTED]> wrote: > For what it's worth, I finally came up with a simple working test forviews.   > Mytestswere written correctly all along, I just had to take > care of those errors related to the project settings.  It never > occurred me to just set

Re: writing unit tests for views?

2008-07-15 Thread pgb
Hi I got the same issue. from django.test import TestCase class AccountViewTest(TestCase): def test_account_register(self): user_data_dict={ 'username':'userwerthrthh', 'email':'[EMAIL PROTECTED]',

Can url tags work with single quoted strings?

2008-07-08 Thread pgb
Hi Just a quick query Can url tags work with single quoted strings? Another words why {% url my.view 'some_string' %} doesn't work but {% url my.view ''some_string" %} works fine? Could you add a small example about using quoted strings with tags, like the above one, to

Re: FTP upload of files threw django

2008-04-26 Thread pgb
Hi, I am also not an expert but personaly I would use javascript/ajax with files smaller then 100MB, for larger files I would try a Java applet. Either ways use another webserver/s. Please keep us up to date. pawciobiel --~--~-~--~~~---~--~~ You received this

Re: Performance problem. Server overloading with a lot of apache processes

2008-02-07 Thread pgb
Eren, I don't have big experience but I think there is no way that you can use frameworks and have small amount of memory and slow processor, especially if your application is big. One of my colleagues spend about 4 months writing quite big project in django. It was installed on a small box