FWIW, I think this is a fairly consistent way that web and application UIs
are designed. Checkboxes normally have their labels to the right. Go to
Tools|Options in Firefox right now, or consider any number of well-designed
web forms. (Kudos to the Django developers for using the label tag, too;
Hi Victor,
It sounds like your pattern works well for you, which is good.
Another pattern that can be used is to have the view select off of some of
the request attributes, and maybe even add your own test functions (such as
"accepts()") to the request class. For example:
if request.accepts('ap
If you add the timestamp into both the hash and the token then you can
achieve a more granular expiration policy.
E.g., let's say the timestamp is something like '200806282255', indicating
the reset token expires at 10:55pm local time on today's date. You can
generate a token that looks like this
, so the odds of the user
picking the same password and obtaining the same salt are fairly close to
zero. :)
Including last_login in the hash is certainly a fine idea, though.
-- Scott
On Sat, Jun 28, 2008 at 7:29 AM, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Saturday 28
>
> The problem with this is it requires state on the server, which means . . .
I don't think it's necessary to implement this in such a way that additional
server state is stored. Instead, you could let the confirmation token be a
hash of the internal user state -- including, most importantly,
[...] LEFT JOIN [...] GROUP
> BY column" ~4 sec. - logical because its the complete listing (like
> above)
> "SELECT * FROM table1 LEFT JOIN table2 on [...] LEFT JOIN [...] WHERE
> State='FAILED' GROUP BY column" ~ 0.13 s.
> "SELECT * FROM table1 LEFT JOIN table
On Wed, May 14, 2008 at 10:26 AM, Adrian R. <[EMAIL PROTECTED]>
wrote:
> On 14 Mai, 16:18, "Scott Moonen" <[EMAIL PROTECTED]> wrote:
> > Adrian, are you displaying all 30,000 entries on the same page? Or are
> you
> > using some sort of pagination?
>
Adrian, are you displaying all 30,000 entries on the same page? Or are you
using some sort of pagination?
-- Scott
On Wed, May 14, 2008 at 10:10 AM, Adrian R. <[EMAIL PROTECTED]>
wrote:
>
> Hello Django developers,
>
> I'm new to this mailing list and I hope that I didn't fail completely
> by