On Thu, Feb 24, 2011 at 5:17 PM, Lee Hinde wrote:
> On Thu, Feb 24, 2011 at 1:32 AM, Tom Evans wrote:
>> On Wed, Feb 23, 2011 at 9:17 PM, Lee Hinde wrote:
>>> Except, now the data that's in the database for the username field
>>> goes from looking like this:
>>> leehinde
>>> to this
>>> (u'leehi
On Thu, Feb 24, 2011 at 1:32 AM, Tom Evans wrote:
> On Wed, Feb 23, 2011 at 9:17 PM, Lee Hinde wrote:
>> Except, now the data that's in the database for the username field
>> goes from looking like this:
>> leehinde
>> to this
>> (u'leehinde',)
>>
>> I'd like it to be 'leehinde' again
>> so, clea
On Thu, Feb 24, 2011 at 20:41, Mike Ramirez wrote:
> On Thursday, February 24, 2011 01:32:11 am Tom Evans wrote:
> But that doesn't explain the tuple form, (u'', ) of the return value.
That's how unicode strings are marked in django
cheers
L.
--
Crunchiness is the gustatory sensation of muffle
On Thursday, February 24, 2011 01:32:11 am Tom Evans wrote:
> On Wed, Feb 23, 2011 at 9:17 PM, Lee Hinde wrote:
> > Except, now the data that's in the database for the username field
> > goes from looking like this:
> > leehinde
> > to this
> > (u'leehinde',)
> >
> > I'd like it to be 'leehinde'
On Wed, Feb 23, 2011 at 9:17 PM, Lee Hinde wrote:
> Except, now the data that's in the database for the username field
> goes from looking like this:
> leehinde
> to this
> (u'leehinde',)
>
> I'd like it to be 'leehinde' again
> so, clearly objects.create is more clever than my pure post. But I'm
On Wednesday, February 23, 2011 01:17:22 pm Lee Hinde wrote:
> I'd like it to be 'leehinde' again
> so, clearly objects.create is more clever than my pure post. But I'm
> not sure where in the food chain I should be interceding..
I'm not sure what's going on, but I would start with data.get() and
I had this view function snippet:
e = Account.objects.create(
user_name = data.get('username'),
password = data.get('password'),
email = data.get('email'),
subscription_number = data.get('subscription_id'),
retrieved = False,
7 matches
Mail list logo