Re: RFC: #12417 - Support for signing (including secure cookies)

2011-05-11 Thread Luke Plant
e should fix this code to use salted_hmac. (Or fix salted_hmac if there is some problem with it, but remembering that there is lots of data that depends on it). I haven't had time to further review, but thought I'd get that out straight away. Regards, Luke -- Parenthetical remarks (

Re: TemplateResponse and decorator_from_middleware

2011-05-11 Thread Luke Plant
x27;t have anything but a vague feeling of unease (which is not something you can either defend or argue against), and I wasn't involved in reviewing that feature much. Luke -- Parenthetical remarks (however relevant) are unnecessary Luke Plant || http://lukeplant.me.uk/ -- You received this me

TemplateResponse and decorator_from_middleware

2011-05-10 Thread Luke Plant
s about it. Any input would be appreciated. Regards, Luke -- Parenthetical remarks (however relevant) are unnecessary Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to thi

Backporting policy for 1.2.X

2011-05-10 Thread Luke Plant
.com/changeset/16209 -- "Outside of a dog, a book is a man's best friend... inside 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 p

Re: Class Based Views, can you not just pass the CBV instance to the template?

2011-05-09 Thread Luke Plant
is is django-users territory BTW. Luke -- OSBORN'S LAW Variables won't, constants aren't. 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

Re: django.conf.settings.get()

2011-05-07 Thread Luke Plant
On 07/05/11 18:13, Alex Gaynor wrote: > I'm -1, it's literally a one line substitute for a Python builtin, it > adds zero value. I agree with Alex, and with James (ubernostrum) who closed it originally. Luke -- O'REILLY'S LAW OF THE KITCHEN Cleanliness is next

Re: PatchHammer 40,000

2011-05-05 Thread Luke Plant
already dealt with the complete backlog, although it was a bit of a deluge, that shouldn't happen again, so it might not be a bad idea to keep it on going forward. There may also be the possibility of leaving the comments, but not triggering the e-mails. If patchhammer has admin rights to Trac, i

Re: FloatField will not handle infinity values (Ticket #4287)

2011-04-27 Thread Luke Plant
#x27;t support it so you can find one that does. Regards, Luke -- "I was sad because I had no shoes, until I met a man who had no feet. So I said, "Got any shoes you're not using?" (Steven Wright) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you

Re: Odp: Re: Storing language in session/cookie

2011-04-26 Thread Luke Plant
fact that accessing the session to check causes a session to be created if it did not exist. This is what this whole thread is about! See also the discussion on ticket #13217. Luke -- "I washed a sock. Then I put it in the dryer. When I took it out, it was gone." (Steven Wright) Lu

Re: RFC: new backports policy

2011-04-20 Thread Luke Plant
e > prevented a release in the first place. which certainly does include regressions introduced since the last release. Luke -- "I regret I wasn't born with opposable toes." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you ar

Re: Proposal: switch to HTML5 for bundled templates

2011-04-20 Thread Luke Plant
able toes." (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-developers@googlegroups.com. To unsubscribe from this gro

Re: RFC: new backports policy

2011-04-19 Thread Luke Plant
e necessary for their needs anyway. Regards, Luke -- "In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Gro

Re: #14891, a.k.a. "related managers don't work how we claim they do"

2011-04-18 Thread Luke Plant
le ground (a deprecation path for the > current behavior)? I vote for A - fix the bug. Luke -- "In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this mess

Re: Suggestion: a new "nature" field in Trac

2011-04-01 Thread Luke Plant
o stay there. Luke -- "If your parents never had children, the chances are you won't either." 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 em

Re: Proposal: make 1.4 more explicit

2011-03-31 Thread Luke Plant
s is a serious proposal, you're not expecting other people to do all the work, and if it's not a serious proposal, we'll just ignore it :-) Regards, Luke -- "If you're not part of the solution, you're part of the precipitate." (Steven Wright) Luke Pla

Re: Proposal: switch to HTML5 for bundled templates

2011-03-29 Thread Luke Plant
t lost; you can still call him vile names. (Elbert Hubbard) 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-developers@googlegroups.com. To

Re: Suggestion: a new "nature" field in Trac

2011-03-29 Thread Luke Plant
ir own: "Cleanup", which would include: * removing unused code and imports * removing support code for older Python versions. * converting doctests to unittests * some refactorings like removing duplication. Luke -- If you can't answer a man's arguments, all is not lost; you c

Re: Suggestion: a new "nature" field in Trac

2011-03-29 Thread Luke Plant
On 28/03/11 16:22, Luke Plant wrote: > On 28/03/11 15:50, Russell Keith-Magee wrote: > >> However, I accept your point about splitting bug into two categories. >> Making it two different flags was a suggestion for expediency of >> implementation, but I can see how it w

Re: Trac milestones

2011-03-29 Thread Luke Plant
g the discussion, Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group

Re: Proposal: switch to HTML5 for bundled templates

2011-03-29 Thread Luke Plant
hose things out on a case-by-case basis. > But hey, aren't we starting to stray into... ::gasp:: front-end > territory here?! Where's our Benevolent Designer For Life ;-) I for one would definitely like Idan's input here, I'm sure he has more experience than me! Luke --

Re: Proposal: switch to HTML5 for bundled templates

2011-03-28 Thread Luke Plant
ible with browsers that don't support it, since default to type="text" if the browser doesn't recognise the "type" attribute. Regards, Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard)

Proposal: remove compatibility for old signing functions

2011-03-28 Thread Luke Plant
;If something is hard, it's not worth doing." (Homer Simpson) 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-developers@googlegroups.com. T

Proposal: switch to HTML5 for bundled templates

2011-03-28 Thread Luke Plant
en_will_HTML5_be_finished.3F [4] http://stackoverflow.com/questions/1701934/how-do-i-use-a-perl-cgi-locally-without-using-curl-and-apache2 [5] http://about.validator.nu/#src -- "If something is hard, it's not worth doing." (Homer Simpson) Luke Plant || http://lukeplant.me.uk/

Re: Suggestion: a new "nature" field in Trac

2011-03-28 Thread Luke Plant
Luke -- "If something is hard, it's not worth doing." (Homer Simpson) 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-developers@goo

Re: Suggestion: a new "nature" field in Trac

2011-03-28 Thread Luke Plant
rts page: <http://code.djangoproject.com/wiki/Reports> Once this change lands, I'm been intending to split out most of the existing reports on that page into bug/feature/optimisation, and that would be made much less clean if we had both 'bug' and 'release blocking bug'.

Re: POST data handling bug

2011-03-24 Thread Luke Plant
rked it as 'regression', so it won't get lost. Luke -- "I asked mom if I was a gifted child. She said they certainly wouldn't have paid for me." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to

Re: Ticket reports page redesign

2011-03-24 Thread Luke Plant
On 23/03/11 15:32, Jacob Kaplan-Moss wrote: > On Wed, Mar 23, 2011 at 4:39 AM, Luke Plant wrote: >> It appears to me that this reports page is not nearly as useful as it >> could be, and I'm thinking of redesigning it. > > Sounds just fine for me -- I really threw

Re: Ticket reports page redesign

2011-03-23 Thread Luke Plant
reak up the mahogany." (True Quotes From Induhviduals, Scott 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-developers@googlegroups.com.

Re: MEDIA, STATICFILES and ADMIN to dictionaries like CACHES and DATABASES

2011-03-23 Thread Luke Plant
hem to support this change (only 5 of the 9 slots are needed). Given that things like 'settings.MEDIA_URL' are going to be used in many bits of code (unlike settings for caches and databases, which are very rarely used in user code), and these would have change to "settings.STATI

Ticket reports page redesign

2011-03-23 Thread Luke Plant
that would be *great*. Thanks, Luke -- "I am going to let you move around more, just to break up the mahogany." (True Quotes From Induhviduals, Scott Adams) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Dj

Re: secret key from file...

2011-03-22 Thread Luke Plant
ut anywhere. Luke -- "I am going to let you move around more, just to break up the mahogany." (True Quotes From Induhviduals, Scott Adams) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers"

Re: Ticket 14261 - add basic clickjacking protection to Django

2011-03-14 Thread Luke Plant
more fine grained options available), I'd be really interested to hear. Regards, Luke -- Evolution (n): A hypothetical process whereby infinitely improbable events occur with alarming frequency, order arises from chaos, and no one is given credit. Luke Plant || http://lukeplant.me.uk/ -- Y

Re: CSRF Header broken on uWSGI

2011-03-09 Thread Luke Plant
CSRF verification are included in Django's own test suite, in tests/regressiontests/csrf_tests. 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

Re: Brute force attacks

2011-03-07 Thread Luke Plant
lly good, BTW, video here <http://djangocon.blip.tv/file/4112452/>) Regards, 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

Re: "needsinfo": resolution vs. triage stage

2011-02-26 Thread Luke Plant
e reporter reopens to provide the information) or as > a triage stage (like DDN, RFC, etc.)? +1 for it being a resolution. Luke -- "Because Your lovingkindness is better than life, My lips shall praise You." (Ps 63:3) Luke Plant || http://lukeplant.me.uk/ -- You received this me

Re: A word about CSRF Protection and AJAX

2011-02-25 Thread Luke Plant
onas' arguments about ease of use for people using AJAX are also significant. If we change it, do we want to change it before the 1.3 release? And backport it to 1.2.X? Luke -- "Because Your lovingkindness is better than life, My lips shall praise You." (Ps 63:3) Luke Plant || h

Re: CSRF_Token and Ajax

2011-02-24 Thread Luke Plant
com/weblog/2011/feb/08/security/ I don't have the permissions necessary to do that, perhaps Russell or someone could. (Should I have the permissions, BTW?) Luke -- A woman's mind is cleaner than a man's. She changes it more often. (Oliver Herford) Luke Plant || http://lukeplant

Re: A word about CSRF Protection and AJAX

2011-02-23 Thread Luke Plant
oathe to do that and add further complications to the docs. Luke -- As Ralph Waldo Emerson once said, "I hate quotations." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: Multiple email connections

2011-02-23 Thread Luke Plant
le. Luke -- As Ralph Waldo Emerson once said, "I hate quotations." 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-developers@goog

Re: A word about CSRF Protection and AJAX

2011-02-19 Thread Luke Plant
orrect way to implement this decorator is to simply add a call to django.middleware.csrf.get_token(). META["CSRF_COOKIE_USED"] is an implementation detail that we are free to change, so don't rely on setting that explicitly. If you would like to open a ticket to track this, that would

Re: Getting Slammed Hard on Foreign Keys in the admin due to __unicode__

2011-02-16 Thread Luke Plant
y definitely into django-users territory, not django-developers here. Thanks, Luke -- A former CEO: "Some of you think that only half of the Board of Directors do all the work and the rest do nothing, actually the reverse is true." (True Quotes From Induhviduals, Scott

Re: Small decision needed on #15025

2011-01-13 Thread Luke Plant
nks, 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 "

Re: Small decision needed on #15025

2011-01-12 Thread Luke Plant
ility than the one created > by [14992]. I agree with Tai, and think this would make the behaviour more confusing and complicated. Regards, Luke -- "Whom have I in heaven but You? And there is none upon earth that I desire besides You." Psalm 73:25 Luke Plant || h

Re: Small decision needed on #15025

2011-01-12 Thread Luke Plant
hom 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 email to djang

Re: Small decision needed on #15025

2011-01-11 Thread Luke Plant
be useful - it would just confuse things more, and it isn't appropriate if we treat the original behaviour as a bug. I also think that mrmachine's analysis and patch on #15025 is correct. Thanks, Luke -- "Whom have I in heaven but You? And there is none upon earth that I desire

Re: Regressions in 1.2.4

2011-01-06 Thread Luke Plant
contain a bug. A case in point being the admin lookup security fix in 1.2.4. Luke -- "Underachievement: The tallest blade of grass is the first to be cut by the lawnmower." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscrib

Re: Question pertaining to availability of ``request`` throughout different scopes

2010-12-29 Thread Luke Plant
blem-in-Haskell.html [3] http://chris-lamb.co.uk/2010/06/01/appending-request-url-sql-statements-django/ -- "The one day you'd sell your soul for something, souls are a glut." Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to t

Re: Using asserts in test code

2010-12-23 Thread Luke Plant
, I agree that in those cases bare asserts are a pain. So perhaps the assert statement is only a good idea when 1) you are documenting an assumption in the test code, 2) there is no TestCase.assert* method that could be easily used to provide a more helpful error. Luke -- "Smoking cures weight

Using asserts in test code

2010-12-23 Thread Luke Plant
ight problems...eventually..." (Steven Wright) 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: Configuring rounding for decimals

2010-12-22 Thread Luke Plant
ic somewhere, before it reaches the DB layer. 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 "Dja

Re: ForeignKey with null=True

2010-12-16 Thread Luke Plant
On Thu, 2010-12-16 at 11:30 -0800, Christophe Pettus wrote: > On Dec 16, 2010, at 11:14 AM, Luke Plant wrote: > > This isn't true if the field pointed to (i.e. primary key by default) > > allows NULL values - in that case a ForeignKey field with a NULL value > > can and

Re: ForeignKey with null=True

2010-12-16 Thread Luke Plant
jects from the DB when the related information isn't actually saved to the DB is obviously not going to work. Luke -- "Outside of a dog, a book is a man's best friend... inside of a dog, it's too dark to read." Luke Plant || http://lukeplant.me.uk/ -- You receive

Re: ForeignKey with null=True

2010-12-16 Thread Luke Plant
haviour is a bug and that workflows that rely on it are broken, I'll go ahead and commit. Russell closed the bug as WONTFIX, but I think based on a misunderstanding (I misunderstood the original report in the same way). Luke -- "Outside of a dog, a book is a man's best friend...

Re: Should i report this like bugs in TRAC? Generic Views issue? django.13 alpha and svn

2010-12-09 Thread Luke Plant
ble that it is intentional - if so a comment to say why would be better. 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 this message because you are s

Re: Purpose of constant_time_compare?

2010-12-09 Thread Luke Plant
890"; y="12345678901234567890"' 'x == y' and then moved the 'x' in the first one along. I tried some other variations too. There are some 'end effects' which I tried to remove.). -- "My capacity for happiness you could fit into a matchb

Re: Strong security measures for the Auth Framework

2010-11-27 Thread Luke Plant
icyMixin(object): def valid_password(self, password): return True All the auth forms should then be adapted to use this mixin and the valid_password method, and third parties can define their own mixin which overrides the method to create their own forms. Luke -- "Love is like an hourgl

Re: Should CSRF Middleware return 403 or 500 error from AJAX call?

2010-11-18 Thread Luke Plant
the CsrfMiddleware could have done that. You will probably need a full example (with settings file and views) for us to reproduce this. Luke -- I teleported home one night With Ron and Sid and Meg, Ron stole Meggie's heart away And I got Sidney's leg (THHGTTG) Luke Plant || http://luk

Re: Call for comment: #14389 and #9666; changes to {% url %} and {% ssi %} syntax.

2010-11-18 Thread Luke Plant
rning or something, when in fact it doesn't support it at all AFAICS. "drops support for" might be clearer. Luke -- I teleported home one night With Ron and Sid and Meg, Ron stole Meggie's heart away And I got Sidney's leg (THHGTTG) Luke Plant || http://lukeplant.me.uk/

Re: Ticket #7817: Extending "with" and "include" tags.

2010-11-18 Thread Luke Plant
; and the more verbose version that corresponds to how the template language works today: > > {% include "basic-syntax03" with first|lower|upper as new_first and second|upper as new_second %} > I'm afraid I didn't understand your comments here. Regards, Luke -- I tele

Re: RFC: Add a "needinfo" state to triaging

2010-11-17 Thread Luke Plant
On Tue, 2010-11-16 at 22:37 -0300, Daniel Moisset wrote: > On Tue, Nov 16, 2010 at 12:02 PM, Luke Plant wrote: > > > > This will also require a change to Trac, which I for one don't know how > > to do (I don't see the configuration pages I would need in the Trac &g

Re: Doc. patch

2010-11-16 Thread Luke Plant
filing the ticket! People interested in new tickets already receive an e-mail about each one on django-updates, and we really don't need a post to django-developers as well. Thanks, Luke -- "I spilled spot remover on my dog. Now he's gone." (Steven Wright) Luke Plant || http

Re: RFC: Add a "needinfo" state to triaging

2010-11-16 Thread Luke Plant
very obvious in Trac - more obvious than the 'Triage stage' box. Regards, Luke -- "I spilled spot remover on my dog. Now he's gone." (Steven Wright) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups &quo

Re: X-Forwarded-For middleware

2010-11-16 Thread Luke Plant
oteaddrfromforwardedfor-middleware Are you asking for your middleware to go in to core to replace it? Luke -- "I spilled spot remover on my dog. Now he's gone." (Steven Wright) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the

Re: IP addresses in docs.

2010-11-13 Thread Luke Plant
ther machines on your network In the IP address field, enter ``127.0.0.1``. Just my opinion, Luke -- "In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -- You receiv

Re: custom function for autoescape

2010-11-11 Thread Luke Plant
y gets harder to understand and document, and just feels like a hack. That kind of thing is acceptable to fix existing bugs, but not for new features IMO. Luke -- I never hated a man enough to give him his diamonds back. (Zsa Zsa Gabor) Luke Plant || http://lukeplant.me.uk/ -- You received this m

Re: Ticket #7817: Extending "with" and "include" tags.

2010-11-10 Thread Luke Plant
Luke -- I never hated a man enough to give him his diamonds back. (Zsa Zsa Gabor) 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: No default comment_notification_email.txt, no docs

2010-11-08 Thread Luke Plant
l to contain it. Luke -- "I'm at peace with the world. I'm completely serene. I know why I was put here and why everything exists. I am here so everybody can do what I want. Once everybody accepts it, they'll be serene too." (Calvin and Hobbes) Luke Plant || http://lu

Re: custom function for autoescape

2010-11-06 Thread Luke Plant
escaping function, and where necessary create your own version which works correctly for your use case. Your version can be added to a library and loaded using {% load %} to shadow the builtin version. Luke -- "I married Miss Right, I just didn't know her first name was 'Alway

Re: custom function for autoescape

2010-11-05 Thread Luke Plant
hey lack the intelligence to really comprehend the magnitude of it." (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

Code fragments in Trac wiki

2010-11-04 Thread Luke Plant
pdated the WikiFormatting page to make this more prominent. Luke -- "I imagine bugs and girls have a dim suspicion that nature played a cruel trick on them, but they lack the intelligence to really comprehend the magnitude of it." (Calvin and Hobbes) Luke Plant || http://lukeplant.me.uk/ -

Re: custom function for autoescape

2010-11-04 Thread Luke Plant
safe' in your code. With that caveat, I'm not convinced this is still a beautiful patch! As Chris and I seem to have a difference of opinion about this, what do other people think? (BTW, the patch needs to be extended to alter DebugVariableNode, otherwise it produces different output wi

Re: CUBRID as Django bakend

2010-10-30 Thread Luke Plant
upport) There are no plans I know of, and I for one have never heard of it until now. That suggests it doesn't have a huge amount of market share, and not enough to warrant a backend included in core as yet. Luke -- "I have had a perfectly lovely evening. However, this wasn't it.&

Re: from django import forms

2010-10-23 Thread Luke Plant
'differently' is entirely too vague here. What concrete, *backwards compatible* proposal do you have for eliminating the dependency on the settings file in that method? Luke -- "If you do a job badly enough, sometimes you don't get asked to do it again." (Calvin and Hob

Re: Function views to CBV refactor adventure.

2010-10-23 Thread Luke Plant
roject' app which has a views.py all these bits and pieces in it. To me, that seems like a nicer idea than filling urls.py with bloat. If this was established as a convention, then the problem with reverse() would be addressed as well. Luke -- "If you do a job badly enough, sometimes

Re: contrib.staticfiles app concerns

2010-10-21 Thread Luke Plant
more manageable, and a starting point for more advanced functionality. Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the

Re: #14512: Decorating class based views (was Re: new class based views)

2010-10-21 Thread Luke Plant
ning the intrinsic functionality of a view, it doesn't. Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Goog

Re: #14512: Decorating class based views (was Re: new class based views)

2010-10-21 Thread Luke Plant
it solves this problem for you, or if you can think of a better way to fix it. Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you ar

Re: Proposal: A better way to handle unicode in messages, etc

2010-10-20 Thread Luke Plant
tely be classed as a bug. But I for one can't reproduce it. Assuming your default charset is UTF-8, your URL should actually contain '%C2%B0'. With that change, your example code works perfectly on a page I tried. (Without it, I still don't get an exception). Luke --

Re: new class based views

2010-10-20 Thread Luke Plant
not be providing decorators. But then my imagination is probably limited. Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to th

Re: new class based views

2010-10-20 Thread Luke Plant
much less well established in the Django code base) than method decoration. Luke -- If you can't answer a man's arguments, all is not lost; you can still call him vile names. (Elbert Hubbard) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subs

Re: Smart extends

2010-10-15 Thread Luke Plant
-- "I asked mom if I was a gifted child. She said they certainly wouldn't have paid for me." (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 t

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-15 Thread Luke Plant
tart to use it, and that these can be considered as bug fixes to the essential feature. I'm afraid I won't be able to help with reviewing anything over this weekend. Regards, Luke -- "I asked mom if I was a gifted child. She said they certainly wouldn't have paid for me."

Re: HMAC and timing based attacks - ticket #14445

2010-10-13 Thread Luke Plant
On Wed, 2010-10-13 at 09:44 +0100, Luke Plant wrote: > You're right. I've posted a question here: > > http://cstheory.stackexchange.com/questions/2159/creating-hmac-keys-using-a-fixed-prefix-and-a-random-string OK, we got some answers, from the theoretical angle at least.

Re: HMAC and timing based attacks - ticket #14445

2010-10-13 Thread Luke Plant
ve time to look into it in detail). You're right. I've posted a question here: http://cstheory.stackexchange.com/questions/2159/creating-hmac-keys-using-a-fixed-prefix-and-a-random-string If anyone knows of better places to post such a question or people to ask, please do so. Luke -

Re: 8040 SlugField format not enforced - fixed, closed an "ready for checkin" since two years

2010-10-12 Thread Luke Plant
ws the problem and/or a fix. Thanks, Luke -- "He knows the way I take: when he has tried me, I shall come forth as gold" (Job 23:10). Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers" gr

Re: 8040 SlugField format not enforced - fixed, closed an "ready for checkin" since two years

2010-10-12 Thread Luke Plant
ears ago, as you say. There is nothing left to do, so I don't see what the problem is. Luke -- "He knows the way I take: when he has tried me, I shall come forth as gold" (Job 23:10). Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to

Re: HMAC and timing based attacks - ticket #14445

2010-10-12 Thread Luke Plant
hich could be done later without compatibility problems as it would generate the same MACs by default. Thanks, Luke -- "He knows the way I take: when he has tried me, I shall come forth as gold" (Job 23:10). Luke Plant || http://lukeplant.me.uk/ -- You received this message

HMAC and timing based attacks - ticket #14445

2010-10-11 Thread Luke Plant
were still sinners, Christ died for us." (Romans 5:8) 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: Possible thread-safety regression for sitemaps in r13980

2010-10-11 Thread Luke Plant
mmit your fix as it is. Thanks. Luke -- "God demonstrates his love towards us in this, that while we were still sinners, Christ died for us." (Romans 5:8) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django

Re: django.contrib.comments is judging me

2010-10-07 Thread Luke Plant
aven't enabled opted in to anything. Patch for that attached. Luke [1] http://code.djangoproject.com/ticket/8794 -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received thi

Re: django.contrib.comments is judging me

2010-10-07 Thread Luke Plant
onality will have set their own value in their settings.py, and they can easily do so if they haven't already. Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received

Re: Problems with logging and Python 2.4

2010-10-06 Thread Luke Plant
Python 2.4 functionality. Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django devel

Re: Problems with logging and Python 2.4

2010-10-06 Thread Luke Plant
e logging themselves, that really doesn't sound attractive either. Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to

Re: Problems with logging and Python 2.4

2010-10-06 Thread Luke Plant
estion, so I guess there is some precedent for this kind of thing, but I can see the argument against. Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message

Re: Problems with logging and Python 2.4

2010-10-06 Thread Luke Plant
patch is attached that seems to work - the entire test suite passes under 2.4. This method won't give any overhead for Python 2.5, unlike the try/except method which does add a little overhead. Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is y

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

2010-10-05 Thread Luke Plant
e missing. Thanks, Luke -- "Dysfunction: The only consistent feature of all of your dissatisfying relationships is you." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers&q

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

2010-10-05 Thread Luke Plant
ow to allow them to work out what has gone wrong. Luke -- "Doubt: In the battle between you and the world, bet on the world." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message because you are subscribed to the Google Groups "Django developers&q

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

2010-10-05 Thread Luke Plant
the moment, I think adding this would add too many choices, and if there is a need for it we can add it as a feature later. Luke -- "Doubt: In the battle between you and the world, bet on the world." (despair.com) Luke Plant || http://lukeplant.me.uk/ -- You received this message b

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

2010-10-04 Thread Luke Plant
tp://groups.google.com/group/django-developers/msg/997ac5d38a96a27b It's slightly less verbose for passing parameters, as you don't need a separate 'configure' call. Luke -- "Doubt: In the battle between you and the world, bet on the world." (despair.com) Lu

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

2010-10-04 Thread Luke Plant
er is being ignored. That might cause some head scratching to the newbie, but nothing like the insidious thread-safety problems we're trying to avoid. Luke -- "Doubt: In the battle between you and the world, bet on the world." (despair.com) Luke Plant || http://lukeplant.me.u

<    1   2   3   4   5   6   7   8   >