Re: Using hashing for password checking in auth module

2009-01-30 Thread Matthias Julius
Guy Rutenberg writes: > Hi Martin, > > On Jan 30, 11:43 pm, Martin Conte Mac Donell > wrote: >> >> Actually in contrib.auth passwords are stored in SHA1. If you mean >> that passwords are sent in plain text "over the network" then you >> should use https. >> > > I meant "over the network". Whil

Re: passing self?

2009-01-30 Thread Matthias Julius
ajlozier writes: > As for your suggestion to start a beginners django group - it is not > that I am opposed to that, but as I am only a beginner myself I am not > sure it would be very appropriate or effective. As I myself could not > volunteer on that project in terms of answering beginner's q

Re: Several browser windows, one session object - should I be locking django session objects?

2009-01-28 Thread Matthias Julius
Michael Newman writes: > On Jan 27, 4:52 pm, Matthias Julius wrote: >> mvtango writes: >> > my users keep several browser windows open in my application, I need >> > to keep session information for all these windows separate. But I have >> > only one ses

Re: File as data backend for model

2009-01-28 Thread Matthias Julius
Malcolm Tredinnick writes: > On Tue, 2009-01-27 at 17:13 -0500, Matthias Julius wrote: >> I am trying to write a model for which the data can be represented as >> a simple array of a fixed number of one byte integers. To use a >> SQL database for that would be very mu

Re: File as data backend for model

2009-01-28 Thread Matthias Julius
Jeff Hammerbacher writes: > Hey Matthias, > > To use Django's model object for this task, you will need to implement a > custom manager for your file's structure; you can see some basic > documentation at > http://docs.djangoproject.com/en/dev/topics/db/managers/#topics-db-managers. > It should

File as data backend for model

2009-01-27 Thread Matthias Julius
I am trying to write a model for which the data can be represented as a simple array of a fixed number of one byte integers. To use a SQL database for that would be very much overkill. I would simply use a file where I can seek to the index position and read or write that byte. While this in it

Re: Several browser windows, one session object - should I be locking django session objects?

2009-01-27 Thread Matthias Julius
mvtango writes: > my users keep several browser windows open in my application, I need > to keep session information for all these windows separate. But I have > only one session object - modifying it while the user works in window > A and window B in parallel might get me in trouble if Request