Hi Selwin,
Considering "There should be one-- and preferably only one --obvious way to
do it", I definitely prefer to rely on order_by to do the ordering, not on
first.
.order_by('name').first()
is clear and readable in my opinion.
Wim
On Sunday, 12 May 2013 06:55:04 UTC+2, Selwin Ong wrote
Hi everyone,
I opened a new pull request implementing Shai's suggestions (I didn't
overwrite the current branch so we can still compare the two
implementations if needed).
I initially modeled "first()" and "last()"'s behaviors to mimic "latest()",
but in this new pull request, you can pass mul
On 12 touko, 02:55, Russell Keith-Magee
wrote:
> To that end - I want to make sure that we're clear about what we're talking
> about here.
>
> What is on the table is essentially adding a refresh() call on an object
> instance that is an API analog of ".get(id=self.id)" (although the
> implementat
On Sat, May 11, 2013 at 7:55 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> I'm sure I understand this argument. Python objects are passed around by
> reference, not by value, so if you've passed in a Django object deep into
> another library, that library will be pointing at the same
On 12 May 2013, at 00:55, Russell Keith-Magee wrote:
> I'm sure I understand this argument. Python objects are passed around by
> reference, not by value, so if you've passed in a Django object deep into
> another library, that library will be pointing at the same instance. If the
> instance is
On Sat, May 11, 2013 at 3:47 PM, Wim Feijen wrote:
> Hi Simon, Luke and Aymeric,
>
> Simon, first of all, thanks for your feedback.
>
> Core developers, I think Simons comment is a thing we should take
> seriously. A ticket was closed and people didn't understand the process and
> re-opened it. I
On Sat, May 11, 2013 at 4:03 PM, Wim Feijen wrote:
> Hi,
>
> Following up on the discussion on:
>
> https://groups.google.com/forum/?fromgroups=#!topic/django-developers/DUQtBrM2iTs
>
> I'd like to start a clear discussion about re-opening ticket 901.
> https://code.djangoproject.com/ticket/901
>
On Sunday 12 May 2013, Łukasz Rekucki wrote:
> Hi,
>
> On 11 May 2013 22:58, Shai Berger wrote:
> > In
> > other communities, I have usually seen "needsinfo" as a ticket state,
> > rather
> > than a reason for closing; such tickets are then closed later, if enough
> > time
> > has passed and no f
[resend, reference included; sorrt for the noise]
On Saturday 11 May 2013, Anssi Kääriäinen wrote:
>
> - While it might seem trivial to implement reload()/refresh() when
> needed,
Indeed, it might; which is why I would assume many people have already done
it. For these people, a new reload()/
On Saturday 11 May 2013, Anssi Kääriäinen wrote:
>
> - While it might seem trivial to implement reload()/refresh() when
> needed,
Indeed, it might; which is why I would assume many people have already done
it. For these people, a new reload()/refresh() in core may go unnoticed or
redundantly
Hi,
On 11 May 2013 22:58, Shai Berger wrote:
> In
> other communities, I have usually seen "needsinfo" as a ticket state,
> rather
> than a reason for closing; such tickets are then closed later, if enough
> time
> has passed and no further info is received.
>
To me that's just giving false hop
Hi Selwin,
On Saturday 11 May 2013, Selwin Ong wrote:
> Hi everyone,
>
> I submitted a pull request implementing "first()" and "last()" here:
> https://github.com/django/django/pull/1054
>
> Comments welcome!
>
You implemented the "order_by" parameter as taking only one field name; this is
in
Hi Django devs,
I would like to raise a little concern I ran into lately. When going over some
Oracle-related tickets, I came across ticket #20201[0] . The ticket
description was missing important details, so I commented about them. A few
days later, Aymeric came around, and closed the ticket a
On May 11, 2013, at 4:10 AM, Claude Paroz wrote:
> Le samedi 11 mai 2013 07:59:18 UTC+2, Donald Stufft a écrit :
> I went looking for BCrypt + Django + Python3 today and this is what I found:
>
> The current recommended solution to bcrypt + Django is using py-bcrypt which
> is not compatible
On Saturday, May 11, 2013 2:38:23 PM UTC+2, Carl Meyer wrote:
>
> No good reason, just an oversight I think. If that's all that's needed to
> make the CI happy, feel free to change it, should be a simple fix.
>
Perfect, pushed a fix, let's see what jenkins says.
--
You received this message be
Hi Florian,
On May 11, 2013, at 7:51 AM, Florian Apolloner wrote:
> Hi Carl,
>
> before I read all the tickets etc; why does runtests.py not use the
> TEST_RUNNER from settings.py (see
> https://github.com/django/django/commit/9012833af857e081b515ce760685b157638efcef#L60L149)?
> We'd need th
Hi Carl,
before I read all the tickets etc; why does runtests.py not use the
TEST_RUNNER from settings.py (see
https://github.com/django/django/commit/9012833af857e081b515ce760685b157638efcef#L60L149)?
We'd need that for jenkins to produce xml files as output.
Thanks,
Florian
--
You receiv
Hi everyone,
I submitted a pull request implementing "first()" and "last()" here:
https://github.com/django/django/pull/1054
Comments welcome!
Best,
Selwin
On Thursday, February 28, 2013 5:34:16 AM UTC+7, Wim Feijen wrote:
>
> Hi all,
>
> We struggled to get a proper definition for a first()
Not good, at least our Jenkins runner which should generate xml output
doesn't like it :/
On Saturday, May 11, 2013 5:36:55 AM UTC+2, Carl Meyer wrote:
>
> I merged this patch tonight. Thanks to everyone who contributed! Now let's
> see how the CI servers feel about it...
>
> Carl
>
> On Wednesd
On 11 touko, 11:03, Wim Feijen wrote:
> Hi,
>
> Following up on the discussion
> on:https://groups.google.com/forum/?fromgroups=#!topic/django-developers...
>
> I'd like to start a clear discussion about re-opening ticket
> 901.https://code.djangoproject.com/ticket/901
>
> Ticket 901 was marked
Le samedi 11 mai 2013 07:59:18 UTC+2, Donald Stufft a écrit :
>
> I went looking for BCrypt + Django + Python3 today and this is what I
> found:
>
> The current recommended solution to bcrypt + Django is using py-bcrypt
> which is not compatible with Python3.
>
> Someone else has taken py-bcryp
Hi,
Following up on the discussion on:
https://groups.google.com/forum/?fromgroups=#!topic/django-developers/DUQtBrM2iTs
I'd like to start a clear discussion about re-opening ticket 901.
https://code.djangoproject.com/ticket/901
Ticket 901 was marked 7 years ago as won't fix and has been subjec
Hi Simon, Luke and Aymeric,
Simon, first of all, thanks for your feedback.
Core developers, I think Simons comment is a thing we should take
seriously. A ticket was closed and people didn't understand the process and
re-opened it. I believe we could have explained more clearly:
1. our decision
23 matches
Mail list logo