On Wed, 2007-07-18 at 22:09 +, Rob Hudson wrote:
> After going to a git presentation by Randal Schwartz and watching the
> video by Linus on git, I decided to play with it some for a patch I'm
> testing in Django. I got git and git-svn installed on my Mac, pulled
> down the Django source and
After going to a git presentation by Randal Schwartz and watching the
video by Linus on git, I decided to play with it some for a patch I'm
testing in Django. I got git and git-svn installed on my Mac, pulled
down the Django source and started a new branch for the patch I'm
working on.
What's *r
I think that instead of executing queries where you want to return no
records and know that no records will ever be returned if a field
lookup is None (e.g. in the case of related objects to an unsaved
object), you should just catch that condition and not execute that
query.
In 9 years I've never
I've been playing with this a little today and I'm curious... does
this work on any database backend? The Django db stuff is a bit
magical to me, but in the path I'm following in the code, I don't see
anything that tells it to look at order_with_respect_to if ordering ==
'_order'.
I have this si
On Jul 13, 1:04 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> defines AUTH_BACKENDS to be a string, not a tuple, and that is the
> error you are catching (note the missing comma). Note the missing
> comma. If you have the comma in the tuple, Django correctly reports
> that the backend doe
Please see ticket #4922 for a proposed change.
The motivation for this is to be able to dynamically create form
widgets (in the HTML sense) for an object returned as JSON. The XML
serializer already includes the field type as an attribute, but I
would like to use it with JSON.
Thanks,
Grant
--
On 7/18/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
> after the unicode merge, the repr() of a lazy translation string is
> ''
You just need to do ``unicode(laxystring)`` to get the original
string. I'm sure Malcolm has a good reason for this :)
Jacob
--~--~-~--~~~--
Hi,
after the unicode merge, the repr() of a lazy translation string is
''
This gets in my way of testing, since it used to be just the resulting
string. I'm helping myself with a
class __proxy__(Promise):
#...
def __repr__(self):
if self.delegate_str:
return repr(