Re: Django new comments framework error

2008-09-01 Thread SammyRulez
zapped django from site-packeges, updated to 8797 but still have this error. Running the django/test over a fresh checkout got a lot of fails on comments contrib app. es ERROR: testRenderCommentFormFromLiteral (regressiontests.comment_tests.tests.templatetag_tests.CommentTemplateTagTests) -

Re: use crypt algo for user passwords

2008-09-01 Thread SammyRulez
I agree, and my basic idea was to enable the use of a stronger algo than sha1, which is breakable too. Hashlib supports sha256 and sha 512. As I said in the ticket comment adding the app secret key could mitigete the danger of a brute force attack on the sql dump of the database. On 29 Ago, 20:29

Re: use crypt algo for user passwords

2008-08-29 Thread SammyRulez
Maybe I'm wrong but this patch define DEFAULT_ALGO at "django installation" level. I think it shoud be defined at prject level. something like this >>> try: ... DEFAULT_ALGO = settings.DEFAULT_ALGO ... except NameError: ... DEFAULT_ALGO = 'sha1' does refer to project settings have some s

Re: use crypt algo for user passwords

2008-08-28 Thread SammyRulez
thanks opend ticket #8647 On 28 Ago, 16:55, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi Sam, > >  I'm tring to figure out how to use crypt algorithm for user password. > > > looking at the code (http://code.djangoproject.com/browser/django/ > > trunk/django/contrib/auth/models.py) lin 175 there

use crypt algo for user passwords

2008-08-28 Thread SammyRulez
hello all, I'm tring to figure out how to use crypt algorithm for user password. looking at the code (http://code.djangoproject.com/browser/django/ trunk/django/contrib/auth/models.py) lin 175 there is no way to use other than sha1. Thanks Sam --~--~-~--~~~---~--~---

Using a custom storage

2008-04-17 Thread SammyRulez
Hi folks I'm trying to implement a custom Stroage via s3. Something like http://code.djangoproject.com/attachment/ticket/6390/S3_6390.20080321.py. I'm digging Django core code to find how to tell it to use the custom storage instead of the FileSystemStorage but without luck. Any suggestion on

best solution for a tight model

2008-02-01 Thread SammyRulez
hi all I have a model made up of customers, project, works and invoices (sounds familiar? :-)) every project belongs to a customer, has many works. When I want to create a new invoice I would like to select a customer and a list of works that belongs to projects done for that customer and that