Re: Minor feature: Make TestCase pass the testcase instance to self.client's constructor

2013-01-06 Thread Michael Hudson-Doyle
On 5 January 2013 05:23, Malcolm Box wrote: > > The general pattern I want to implement is have a test client that makes > assertions about all the requests made during a set of tests. For example, it > could check that every get() returned cache headers, or that content_type is > always specif

Re: A.objects.getdefault

2012-10-15 Thread Michael Hudson-Doyle
On 16 October 2012 07:19, Jacob Kaplan-Moss wrote: > On Mon, Oct 15, 2012 at 7:42 AM, Anssi Kääriäinen > wrote: >> In the end this is a decision with almost no technical considerations and a >> lot of "good taste" considerations. So, this seems like BDFL area. > > Hi! > > After thinking a bit, I'

Re: A.objects.getdefault

2012-10-09 Thread Michael Hudson-Doyle
On 10 October 2012 10:29, Anssi Kääriäinen wrote: > On 9 loka, 20:15, ptone wrote: >> Unsurprisingly - this has come up before: >> >> Earlier >> discussionhttps://groups.google.com/forum/?fromgroups=#!topic/django-developers... >> >> tickets:https://code.djangoproject.com/ticket/17546https://cod

Re: Deprecate change pk + save behavior for 1.4

2011-12-02 Thread Michael Hudson-Doyle
On 2 December 2011 15:38, Anssi Kääriäinen wrote: > The bad part about do-nothing is that: >  - I really do not like the API of .save() not changing the PK, but > instead duplicating the object. Maybe I am alone here. Definitely not. Cheers, mwh -- You received this message because you are sub