Re: Ticket 3505, Authentication backend

2007-07-11 Thread mario__
On 11 jul, 00:09, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > > Can you help out a little bit here by providing a test case (not > necessarily a unit test - just a clear set of instructions for how to > generate they type of error that your patch proposes to catch? I can > see the general p

Ticket 3505, Authentication backend

2007-07-10 Thread mario__
Please take a look at this url http://code.djangoproject.com/ticket/3505 I wrote a little patch for the ticket subject. Comments or kicks will be appreciated :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: wrong names in variables. startapp rutine

2007-04-09 Thread mario__
On Apr 9, 4:58 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > > Thanks, Mario. I've checked in the patch. > ok, I hope it help. Thanks for your time, regards! > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Get function name after....

2007-03-27 Thread mario__
On Mar 27, 1:32 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > > I really don't want to be the "bad cop" here, but developers with > users questions still need to ask them on the users list. > Don't worry, my mistake. When I have finished my "security" idea I'll drop a line here. Reg

Re: Get function name after....

2007-03-27 Thread mario__
On Mar 27, 12:54 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Hi Mario -- > > On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > > > Hello, I'm trying to know the callback name after a resolve process > > [snip] > > Please direct questions of this nature to django-users; django-dev is

Re: Support for a binary storage field?

2007-03-27 Thread mario__
On Mar 26, 7:26 pm, "Honza Král" <[EMAIL PROTECTED]> wrote: > > network filesystem or NAS is the 'right solution' here, even if NFS is > not the best solution performance-wise (NFS is slow) its still WAY > faster than DB and can be on a separate box. again, this is important GFS should be bette

Re: Support for a binary storage field?

2007-03-26 Thread mario__
On 26 mar, 10:04, "Noah Slater" <[EMAIL PROTECTED]> wrote: > >it depends the FS you're using. > > To get round this problem I am using NFS. Do you have any other > suggestions? > hum, you could do some test using GFS > Either way, I still think it would be nice to be able to store binary >

Re: Support for a binary storage field?

2007-03-26 Thread mario__
On 26 mar, 07:14, "Noah Slater" <[EMAIL PROTECTED]> wrote: > Saving binary data as printable ASCII seems extremely hack^H^H^H > suboptimal to me. > You can have a TextField and save data as base64 or save data as binary. In postgres binary data is not saved inside database, a link is saved only

Re: Authentication issue (Proposal)

2007-03-22 Thread mario__
On Mar 22, 11:32 am, "Honza Král" <[EMAIL PROTECTED]> wrote: > > you can write a simple middleware that will check for this permission > in process_view(), it will examine the view function to find out what > application it belongs to and decide whether to allow the request to > continue or not...

Re: Escape Filter

2007-03-19 Thread mario__
On Mar 16, 2:02 pm, "Frankie Robertson" <[EMAIL PROTECTED]> wrote: > > {{ text|escape|linebreaksbr }} > > does what you want. Personally I prefer: > > {{ text|escape|linebreaks }} > mmh you're rigth. I didn't look that filter. Thanks! > > > --http://www.advogato.org/person/mgonzalez/ --~--~-

Re: Constraints and MySQL

2007-03-02 Thread mario__
On Feb 27, 8:31 pm, "Marc Fargas Esteve" <[EMAIL PROTECTED]> wrote: > -1 on option 1, and +1 in option 2. We should not remove > functionality because MySQL can't deal with that, simply document > "this won't work with mysql" :) > +1 Regards! --~--~-~--~~~---~

Re: New field proposal

2007-02-23 Thread mario__
On Feb 23, 8:09 am, "Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote: > I think, you should rather create that field as a separate project, > just as Jannis Leidel did with geoposition > field:http://code.google.com/p/django-coordinatesfield/. > If it is useful to others as well as to you, maybe som

New field proposal

2007-02-22 Thread mario__
Hello, I've been doing some changes in django source code by my self to see where I can go and I think I can go further :-) I've got an idea. My backend is PostgreSQL and days ago I had to declare a field range, I mean by every INSERT I needed to accept numbers between 100 and 5 only and

Re: schema-evolution: postgres introspection bug

2006-12-08 Thread mario__
> On 01/11/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > # select pg_constraint.conname, pg_constraint.contype, > pg_attribute.attname from pg_constraint, pg_attribute where > pg_constraint.conrelid=pg_attribute.attrelid and > pg_attribute.attnum=any(pg_constraint.conkey) and > pg_constraint

Re: Help to translate

2006-12-06 Thread mario__
> > Well, we could have the 'es' translation in 100% completed first and > > then start to think in another countries. The 'es' file is about 80% > > translated so if you let me I'll do my best to translate all the file. > > > > Where is this 'es' file perhaps you mean es_CL ? > In django sou

Re: Help to translate

2006-12-06 Thread mario__
> 2006/12/5, mario__ <[EMAIL PROTECTED]>: > > This is my little help > > http://media.forestal.udec.cl/django/ > > > > Perhaps you want to use Django I18N mailing list for this kind of affairs. > Wow, I didn't know, I'm sorry. But, no

Re: Help to translate

2006-12-05 Thread mario__
> Well, we could have the 'es' translation in 100% completed first and > then start to think in another countries. The 'es' file is about 80% > translated so if you let me I'll do my best to translate all the file. > This is my little help http://media.forestal.udec.cl/django/ > --~--~-

Re: Help to translate

2006-12-05 Thread mario__
> Hello Mario, > > It's great that you want to start this effort, I am starting too a > Spanish translation (es_MX) but my question is why we need to have > es_AR, es_CL or es_MX is because we speak a little bit different the > Spanish or it's because we haven't put enough effort to coordinate a >

Re: Modification in the django.db.backends.postgresql.base

2006-10-17 Thread Mario Gonzalez ( mario__ )
On 17/10/06, Rafael SDM Sierra <[EMAIL PROTECTED]> wrote: > ps2.: I need this a lot becouse I'm using FreeBSD, and it start only 50 > connections simultaneously, but my system use but you can change that and default, postgres support 100 connections (2 for superuser) > -- http://www.advogato

Re: Database race conditions when using multiple processes

2006-10-16 Thread Mario Gonzalez ( mario__ )
On 16/10/06, James Bennett <[EMAIL PROTECTED]> wrote: > > SQLite is *not* something to be using if proper locking and safe > concurrent access will be important; SQLite's own docs point out a > couple of cases where its locking just won't work, and they recommend > moving to a client-server RDBMS

Find the Cookie owner

2006-10-12 Thread Mario Gonzalez ( mario__ )
Hi, I'm writing a code for a media server and I want to serve static files to authenticated users only. I check against Django's session table (django_session) and that's ok (IMO) but in session_data there isn't the userid and I need it for security reasons; So I sent you what I'm doing so far and

Re: New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
On 11/10/06, Mario Gonzalez ( mario__ ) <[EMAIL PROTECTED]> wrote: > On 11/10/06, Don Arbow <[EMAIL PROTECTED]> wrote: > > > > There's already a filter called 'default_if_none', check the > > documentation. > > > yeah, I saw it before I

Re: New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
On 11/10/06, Don Arbow <[EMAIL PROTECTED]> wrote: > > There's already a filter called 'default_if_none', check the > documentation. > yeah, I saw it before I sent this email :( sorry if I disturbed anyone. I did it like: #in a template: {{ foo|default_if_none:"" }} Thanks! > Don >

New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
Hello! I think we've been talking in irc, my nick is mario__ and now I really like to help to django code, if you let me. Sometimes sql queries returns NULL values and python change that with a None type, then I cannot show a None in a web page so, I have to change that like: #in a vie