Re: Sites Framework: RequestSite and get_current

2010-10-01 Thread Luke Plant
Thanks, Luke -- "DO NOT DISTURB. I'm disturbed enough already." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.

Re: #6735 -- Class based generic views: call for comment

2010-10-01 Thread Luke Plant
a 'copy()', but breaking __init__() like that is fairly evil. I'm not sure if this is a serious suggestion or not... Luke -- "Despair: It's always darkest just before it goes pitch black." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message b

Re: #6735 -- Class based generic views: call for comment

2010-10-01 Thread Luke Plant
t easy to do the right thing - doing 'self.state.x' is only slightly harder than 'self.x' Thoughts? Luke -- "Despair: It's always darkest just before it goes pitch black." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are s

Re: Sites Framework: RequestSite and get_current

2010-10-01 Thread Luke Plant
. Since both Site and RequestSite already live there, it seems a good place. Thanks for your work on this, Luke -- "Despair: It's always darkest just before it goes pitch black." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you a

Re: #6735 -- Class based generic views: call for comment

2010-10-01 Thread Luke Plant
d by having dispatch based on HTTP verb done first. Luke -- "Despair: It's always darkest just before it goes pitch black." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group.

Re: Need opinion for an object permission rule backend

2010-09-30 Thread Luke Plant
ices give you everything you need. Please ask on django-users. Thanks, Luke -- "Despair: It's always darkest just before it goes pitch black." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Djang

Re: ANN: Improving our decision-making and committer process

2010-09-29 Thread Luke Plant
t's not a good time" response has been an unhelpful sticking point, and we probably need to make it easier for people to discuss things at any point in time. Luke -- "Defeat: For every winner, there are dozens of losers. Odds are you're one of them." (despair.com) Luke

Re: #12012 Logging: request for comments

2010-09-28 Thread Luke Plant
propagate': True, }, } } That will give a settings.py that is sensible for both development and deployment. Luke -- "Cross country skiing is great if you live in a small country." (Steven Wright) Luke Plant || http://lukeplant.me.uk/ -- You received this message because

Changes to LazySettings

2010-09-27 Thread Luke Plant
://code.djangoproject.com/ticket/14297 [2] http://code.djangoproject.com/changeset/11824 [3] http://github.com/spookylukey/djangobench/tree/master/djangobench/benchmarks/l10n_render/ -- "Christ Jesus came in to the world to save sinners" (1 Timothy 1:15) Luke Plant || http://lukeplant.me.uk/ -- Yo

Re: proposal for lazy foreignkeys

2010-09-27 Thread Luke Plant
On Mon, 2010-09-27 at 16:46 +0100, Luke Plant wrote: > Some notes: > 1) it seems like line 15 in abstract.py should say 'abstract':'False', > not 'True' - did I miss something? Cancel that one, I was missing the fact that we are still inheriting from the generated class, not doing: M

Re: proposal for lazy foreignkeys

2010-09-27 Thread Luke Plant
ass's Meta options 3) why do we need the _classcache? Is the key used specific enough - what if two different apps both create 'MyCategory' based on 'CategoryFactory', using them in different situations? Thanks, Luke -- "Christ Jesus came in to the world to save sinners" (1 Timot

Re: #12012 Logging: request for comments

2010-09-27 Thread Luke Plant
can create an app that never populates AppCache but can serve responses. I don't see anything that depends on this startup proposal though, so I'd propose dropping that part until the other options have been discussed. Regards, Luke -- "Christ Jesus came in to the world to save sinner

Re: #717 (If-Modified-Since checked for exact match) should be fixed

2010-09-22 Thread Luke Plant
- I'm not sure what you meant, but if that isn't the same code path, then it also needs to be updated (without duplicating the logic - not a copy/paste job). Cheers! Luke -- As Ralph Waldo Emerson once said, "I hate quotations." Luke Plant || http://lukeplant.me.uk/ -- You received this

Re: [RFC] HttpResponse: freeze API, read_once

2010-09-13 Thread Luke Plant
ee how to use it. Many thanks. Luke -- When you're great, people often mistake candor for bragging. -- Calvin and Hobbes Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to

Re: Have a submission to enforce password policy in the administrative interface

2010-09-11 Thread Luke Plant
egards, Luke -- He who is in love with himself has at least this advantage -- he won't encounter many rivals. (Georg Lichtenberg) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To po

Re: A prompt 1.2.3 release

2010-09-10 Thread Luke Plant
t http://hudson.djangoproject.com/ is not responding to me. Luke -- There was a young man from Peru Whose limericks stopped at line two. Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

A prompt 1.2.3 release

2010-09-09 Thread Luke Plant
is to underestimate the ingenuity of complete fools. -- Douglas Adams Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubs

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-08 Thread Luke Plant
here, just a standard third party site that your browse to). Luke -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant || http://lukeplant.me.uk/ -- You received this message because

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-07 Thread Luke Plant
On Tue, 2010-09-07 at 03:31 +0100, Luke Plant wrote: > 1) The attacker can have the same (public) IP address as the victim if > they are both behind the same firewall, and this will in fact be one of > the most practical ways to launch a MitM + CSRF attack on HTTPS. Here and in my othe

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-07 Thread Luke Plant
cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To pos

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-06 Thread Luke Plant
le CSRF tokens caused by session cycling. Almost everything I've said to this point is explained in the document I linked before. Luke -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant ||

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-06 Thread Luke Plant
On Mon, 2010-09-06 at 18:46 +0200, Patryk Zawadzki wrote: > On Mon, Sep 6, 2010 at 6:34 PM, Luke Plant <l.plant...@cantab.net> wrote: > > OK, that does it. I call 'troll'. If you're not trolling, my > > apologies, but I have run out of energy trying to explain this to you. &

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-06 Thread Luke Plant
energy trying to explain this to you. Luke -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-06 Thread Luke Plant
And, once again, this is not about the cookie being intercepted, it is about it being *set* over an HTTP connection and then being *sent* over HTTPS. Luke -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrich

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-06 Thread Luke Plant
e protection against login CSRF (even if you are not using Django's session framework). Luke -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant || http://lukeplant.me.uk/ -- You receive

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-03 Thread Luke Plant
8/barth-jackson-mitchell-b.pdf -- A mosquito cried out in pain: "A chemist has poisoned my brain!" The cause of his sorrow was para-dichloro- diphenyltrichloroethane Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Gr

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-03 Thread Luke Plant
On Fri, 2010-09-03 at 17:26 +0100, Tom Evans wrote: > On Fri, Sep 3, 2010 at 4:02 PM, Luke Plant <l.plant...@cantab.net> wrote: > > Hi Tom, > > > > On Thu, 2010-09-02 at 11:34 +0100, Tom Evans wrote: > > > >> Any sort of Referer checking is broken by

Re: a new template algorithm

2010-08-31 Thread Luke Plant
uld be potentially much more useful to other people if it was developed as a standalone project rather than as a patch to Django. Regards, Luke -- "I don't want to achieve immortality through my work. I want to achieve it by not dying." -- Woody Allen Luke Plant || http://lukeplant.me.

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-08-27 Thread Luke Plant
s them from seeing the greater picture -- lots of planets are much worse off than earth is. Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django

Re: Unit tests

2010-08-19 Thread Luke Plant
laces. Luke -- Environmentalists are much too concerned with planet earth. Their geocentric attitude prevents them from seeing the greater picture -- lots of planets are much worse off than earth is. Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed t

Re: Suggestion: Better handling of HTML entities by slugify()

2010-07-07 Thread Luke Plant
the slug would be why-you-see-lt-and-gt-in-rss-feeds, not why-you-see-and-in-rss-feeds) The normal way to do this is to store special characters as unicode characters, and apply slugify to that, which works fine. Luke -- "Where a person wishes to attract, they should always be ignorant."

Re: MySQL index hints

2010-07-05 Thread Luke Plant
f those who like us, but we always respect their good judgement." -- Libbie Fudim Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@google

Re: documentation re-factor for 1.3?

2010-07-05 Thread Luke Plant
On Sun, 2010-07-04 at 18:41 -0700, dffdgsdfgsdfhjhtre wrote: > On Jul 4, 8:40 pm, Luke Plant <l.plant...@cantab.net> wrote: > > Unlike PHP, we have namespaces, which means that providing a list of > > every function/class is a different matter. > > So? Matplotli

Re: documentation re-factor for 1.3?

2010-07-04 Thread Luke Plant
that might make it behave 'funny' depending on what exactly you pass it). I think that a developer wanting to find function that are not publicly documented *is* expected to know how to use grep (or 'ack', which is a great replacement, BTW). Regards, Luke Regards, Luke -- "Underachievement: T

Re: A setting that skips tests for thirdparty applications

2010-07-02 Thread Luke Plant
t's of dubious usefulness IMO. Just my 2ยข Luke [1] http://mike-austin.com/blog/2007/03/history-search-backward.html -- "The truth will set your teeth free." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribe

Re: Feedback for #13849 (csrf referer checking)

2010-06-30 Thread Luke Plant
n option out of the box. Regards, Luke [1] http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf -- "The only skills I have the patience to learn are those that have no real application in life." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You receive

Re: Feedback for #13849 (csrf referer checking)

2010-06-30 Thread Luke Plant
site over HTTPS. I only just realised this for one of my own sites. We probably need to document that more clearly, but I'm not sure how. Regards, Luke -- "The only skills I have the patience to learn are those that have no real application in life." (Calvin and Hobbes) Luke Plant || htt

Re: proposal: abstract file upload/download handling

2010-06-24 Thread Luke Plant
t each other. Perhaps they should live next door and just visit now and then. (Katherine Hepburn) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dja

Re: Class based generic views in 1.3?

2010-06-03 Thread Luke Plant
ttpResponse. Regards, Luke -- "Oh, look. I appear to be lying at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this mes

Re: Class based generic views in 1.3?

2010-06-02 Thread Luke Plant
k. I appear to be lying at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Grou

Re: Class based generic views in 1.3?

2010-06-02 Thread Luke Plant
the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers&quo

Re: Class based generic views in 1.3?

2010-05-28 Thread Luke Plant
tors. Regards, Luke -- "Oh, look. I appear to be lying at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are

Re: Class based generic views in 1.3?

2010-05-28 Thread Luke Plant
liar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Class based generic views in 1.3?

2010-05-27 Thread Luke Plant
ing at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django

Re: Static media handling proposal - ticket 12323

2010-05-27 Thread Luke Plant
heers, Luke -- "Oh, look. I appear to be lying at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are

Re: Class based generic views in 1.3?

2010-05-27 Thread Luke Plant
On Thursday 13 May 2010 12:08:26 Luke Plant wrote: > 3) Add the decorators when you call 'instantiator' (which, by the > way, I would rather call 'make_view' or something more specific). > You would then have, *in views.py*: > > 3a) my_view = some_decorator(make_v

Static media handling - ticket 12323

2010-05-27 Thread Luke Plant
very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. T

Re: django template revision (for 1.4?)

2010-05-27 Thread Luke Plant
.djangoproject.com/en/dev/ref/templates/builtins/#with Thanks, Luke -- "Oh, look. I appear to be lying at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.

Re: django template revision (for 1.4?)

2010-05-27 Thread Luke Plant
at the bottom of a very deep, dark hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django de

Re: django template revision (for 1.4?)

2010-05-26 Thread Luke Plant
hole. That seems a familiar concept. What does it remind me of? Ah, I remember. Life." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, s

Re: Class based generic views in 1.3?

2010-05-13 Thread Luke Plant
. However, this point may be moot given the discussion above. Luke -- "Mistakes: It could be that the purpose of your life is only to serve as a warning to others." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups

Re: Hyperlinking template tags and filters in docs

2010-05-07 Thread Luke Plant
nly not on the disk layout of files containing the code to be highlighted. So, I agree that it would be nice to do this 'correctly' in rendering the static documents, but Sphinx and Pygments are just not set up for this AFAICS. Luke -- "Love is like an hourglass, with the heart filling u

Hyperlinking template tags and filters in docs

2010-05-06 Thread Luke Plant
heart filling up as the brain empties." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from th

Re: Trac workflow assistance (commiter feedback needed)

2010-04-30 Thread Luke Plant
ssion of a good fortune, must be in want of a wife." (Jane Austen) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com

Re: Process discussion: reboot

2010-04-20 Thread Luke Plant
lesList(role=triager)]] Luke -- "I married Miss Right, I just didn't know her first name was 'Always'" Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this gro

Re: High Level Discussion about the Future of Django

2010-04-19 Thread Luke Plant
and in this thread, but seeing a person saying it with concrete examples is very helpful. We can then point to official documentation when this comes up again. Luke [1] http://goo.gl/wF57 -- Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the

Re: Fixing middleware/view decorator handling of content iterators

2010-02-21 Thread Luke Plant
defaults for this behaviour amount to 'do what I mean', but add an API which provides the explicit 'do what I say' control. Luke -- Noise proves nothing. Often a hen who has merely laid an egg cackles as if she laid an asteroid. -- Mark Twain Luke Plant || http://lukeplant.me.uk/

Re: admin javacripts

2010-02-19 Thread Luke Plant
ies. Regards, Luke -- Clothes make the man. Naked people have little or no influence on society. -- Mark Twain Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this

Re: admin javacripts

2010-02-19 Thread Luke Plant
s make the man. Naked people have little or no influence on society. -- Mark Twain Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email t

examples directory

2010-02-15 Thread Luke Plant
] http://code.djangoproject.com/ticket/12863 -- Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law. Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers&q

Re: Backwards-incompat with CsrfViewMiddleware

2010-02-15 Thread Luke Plant
his case. Thanks, Luke -- Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law. Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To p

Re: Add Mod(%) Operator to If Tag

2010-02-10 Thread Luke Plant
smart woman with a stupid husband. (Erica Jong) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from

Re: #12804 - decorating admin views marked as invalid

2010-02-09 Thread Luke Plant
all the snot I sneeze to hospitals for mucus transfusions." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop

Re: #12804 - decorating admin views marked as invalid

2010-02-08 Thread Luke Plant
here, pain and misery my only companions. And vast intelligence of course. And infinite sorrow. And..." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: #12804 - decorating admin views marked as invalid

2010-02-07 Thread Luke Plant
Ignore my last post - my 'fix' only fixes one corner case, and not a very useful one either. I've got it fairly sorted out now, I'll post tomorrow about this. Luke On Sunday 07 February 2010 21:11:42 Luke Plant wrote: > On Sunday 07 February 2010 10:45:29 Florian Apolloner wrote: >

Re: #12801 : Allow empty non-nullable ForeignKey fields until save()

2010-02-07 Thread Luke Plant
only companions. And vast intelligence of course. And infinite sorrow. And..." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Re: #12804 - decorating admin views marked as invalid

2010-02-07 Thread Luke Plant
And..." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from

Re: #12801 : Allow empty non-nullable ForeignKey fields until save()

2010-02-06 Thread Luke Plant
Luke -- "Yes, wearily I sit here, pain and misery my only companions. And vast intelligence of course. And infinite sorrow. And..." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django deve

Re: Refining Django admin look proposal

2010-02-06 Thread Luke Plant
. Luke -- "Whom have I in heaven but You? And there is none upon earth that I desire besides You." Psalm 73:25 Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Re: HTML 5

2010-02-04 Thread Luke Plant
On Tuesday 02 February 2010 01:09:23 Leo Soto M. wrote: > On Mon, Feb 1, 2010 at 11:00 AM, Luke Plant <l.plant...@cantab.net> > wrote: [...] > > > Changing that assumption in an elegant way would require changing > > *everything* to use a markup agnostic outpu

Re: Ticket #12760 is no dublicate

2010-02-03 Thread Luke Plant
heers, Luke -- "Where a person wishes to attract, they should always be ignorant." (Jane Austen) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send ema

Re: HTML 5

2010-02-01 Thread Luke Plant
xhtml -- "Trouble: Luck can't last a lifetime, unless you die young." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dj

Re: HTML 5

2010-01-31 Thread Luke Plant
"Trouble: Luck can't last a lifetime, unless you die young." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@go

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-26 Thread Luke Plant
t ten million years were the worst. And the second ten million, they were the worst too. The third ten million, I didn't enjoy at all. After that I went into a bit of a decline." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are su

Re: 1.2 beta?

2010-01-26 Thread Luke Plant
quot;The first ten million years were the worst. And the second ten million, they were the worst too. The third ten million, I didn't enjoy at all. After that I went into a bit of a decline." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message

Re: Possible bug in messages framework?

2010-01-23 Thread Luke Plant
#12470, and adding a note in 'backwards incompatibilities'. Thoughts? Luke -- The early bird gets the worm, but the second mouse gets the cheese. --Steven Wright Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Dja

Re: Possible bug in messages framework?

2010-01-22 Thread Luke Plant
On Saturday 23 January 2010 02:44:39 Luke Plant wrote: > BTW, further research shows that we are not really RFC 2109 > compliant at all, but then again no-one is. It seems virtually > everyone (server side and client side) is using 'Netscape style' > cookies with some things adop

Re: Possible bug in messages framework?

2010-01-22 Thread Luke Plant
es. Luke -- Sometimes I wonder if men and women really suit each other. Perhaps they should live next door and just visit now and then. (Katherine Hepburn) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django de

Re: Possible bug in messages framework?

2010-01-22 Thread Luke Plant
goproject.com/ticket/12470#comment:4 [3] http://docs.python.org/library/cookie.html -- Sometimes I wonder if men and women really suit each other. Perhaps they should live next door and just visit now and then. (Katherine Hepburn) Luke Plant || http://lukeplant.me.uk/ -- You received this message be

Re: What The Enterprise wants from Django

2010-01-21 Thread Luke Plant
, but laziness always pays off now." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscrib

Re: What The Enterprise wants from Django

2010-01-20 Thread Luke Plant
yone to use that system. Luke -- "Procrastination: Hard work often pays off after time, but laziness always pays off now." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. T

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-19 Thread Luke Plant
these days means it's probably helpful to have things locked down by default. Regards, Luke [1] http://code.djangoproject.com/ticket/9444 -- "Pretension: The downside of being better than everyone else is that people tend to assume you're pretentious." (despair.com) Luke Plant ||

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-19 Thread Luke Plant
ut we have specifically documented AnonymousUser as implementing the same interface as User, and I cannot see what harm it would cause to allow this. Luke -- "Pretension: The downside of being better than everyone else is that people tend to assume you're pretentious." (despair.com

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-18 Thread Luke Plant
etc.), so this distinction is already real, not just academic, and the patch would just make it easier to control. Luke -- "Pessimism: Every dark cloud has a silver lining, but lightning kills hundreds of people each year trying to find it." (despair.com) Luke Plant || http://lukeplant.

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-18 Thread Luke Plant
is nicer than 'set([])' - in topics/auth.html, it would be nice to document that the backend should be able to cope with anonymous users being passed to has_perm(). Luke -- "Pessimism: Every dark cloud has a silver lining, but lightning kills hundreds of people each year trying to find it.&quo

Re: DB optimization docs

2010-01-15 Thread Luke Plant
nside of a dog, it's too dark to read." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from th

Re: DB optimization docs

2010-01-08 Thread Luke Plant
gratefully received :-) I'm not planning on doing any more on this for at least a few days. Luke -- "My capacity for happiness you could fit into a matchbox without taking out the matches first." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received th

DB optimization docs

2010-01-08 Thread Luke Plant
first." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from thi

Re: Call for comment: #5390 Many To Many signals

2010-01-08 Thread Luke Plant
han p1.favorites.add(p2) and with your patch it wouldn't. But my brain doesn't seem to be functioning properly today, I may have made a mistake. Luke -- "My capacity for happiness you could fit into a matchbox without taking out the matches first." (Marvin the paranoid android) Luke

Re: user_passes_test decorator changes in 1.2

2010-01-06 Thread Luke Plant
til it's too late." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group,

Re: Design and code review requested for Django string signing / signed cookies

2010-01-06 Thread Luke Plant
hich case just signing "name=value" should be enough (provided the developer doesn't do something silly like make "=" part of the name of the cookie). Luke -- "Mediocrity: It takes a lot less time, and most people don't realise until it's too late." (despair.com) Luk

Re: Design and code review requested for Django string signing / signed cookies

2010-01-06 Thread Luke Plant
what you feed into the API is always critical. > Any thoughts on Django's auth using HMAC besides md5 and sha1 > hashing alone? It sounds like a good idea, I'm not aware of any particular problems with our current implementation that would make this a priority change. Luke -- "M

Re: Possible contrib.humanize addition

2010-01-06 Thread Luke Plant
: It takes a lot less time, and most people don't realise until it's too late." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-d

Re: Design and code review requested for Django string signing / signed cookies

2010-01-05 Thread Luke Plant
invent any more of it." (Marvin the paranoid android) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe fr

Re: r11964 and PendingDeprecationWarning

2010-01-04 Thread Luke Plant
ETIME_INPUT_FORMATS = lazy(lambda: > en_format('DATETIME_INPUT_FORMATS'), tuple, list)() Personally I wouldn't worry about people who are monkey patching - they ought to expect things to break. But I don't think this addition will harm either. Luke -- "Love is like an hourglass, with the heart

Re: r11964 and PendingDeprecationWarning

2010-01-04 Thread Luke Plant
pinging Jannis - did you see this? Can you have a look at my suggestion? Cheers, Luke -- "Love is like an hourglass, with the heart filling up as the brain empties." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Goo

Re: Design and code review requested for Django string signing / signed cookies

2010-01-04 Thread Luke Plant
is like an hourglass, with the heart filling up as the brain empties." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. T

Re: An idea to eliminate {% csrf token %}

2010-01-01 Thread Luke Plant
t object to the Form instance, which requires changing the API for Form to something like SafeForm. That's the problem. Luke -- "I washed a sock. Then I put it in the dryer. When I took it out, it was gone." (Steven Wright) Luke Plant || http://lukeplant.me.uk/ -- You received

Re: An idea to eliminate {% csrf token %}

2009-12-30 Thread Luke Plant
measure to stop your code from breaking, so the change to require csrf_token isn't quite so bad. Thanks, Luke -- "It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife." (Jane Austen) Luke Plant || http://lukep

Re: safe characters used in iri_to_uri (#12445)

2009-12-28 Thread Luke Plant
bug. However, I can't actually come up with a nicer solution, and one that is equally fast is probably even harder. So, +1 to changing this, as well as some fixes to the comments in the code. Luke -- I teleported home one night With Ron and Sid and Meg, Ron stole Meggie's heart away And I got Si

<    1   2   3   4   5   6   7   8   >