And a method is a function only accessible through a class.
On Mon, May 21, 2012 at 3:39 PM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
> On May 19, 5:49 pm, Timothy Makobu
> wrote:
> > user.save returns the function object,
>
>
> actually it evals to a method object
>
>
> ;)
On May 19, 5:49 pm, Timothy Makobu
wrote:
> user.save returns the function object,
actually it evals to a method object
;)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
T
thanks all :)
On Sat, May 19, 2012 at 9:49 AM, Timothy Makobu wrote:
> user.save returns the function object, which is a valid statement, so
> Python wont raise an Exception.
>
>
> On Sat, May 19, 2012 at 9:23 AM, Min Hong Tan wrote:
>
>> hi..
>>
>> thanks!! haha... didn't notice that. how can
user.save returns the function object, which is a valid statement, so
Python wont raise an Exception.
On Sat, May 19, 2012 at 9:23 AM, Min Hong Tan wrote:
> hi..
>
> thanks!! haha... didn't notice that. how can no error...prompt out one
>
>
> On Fri, May 18, 2012 at 11:48 PM, Jonathan D. Ba
hi..
thanks!! haha... didn't notice that. how can no error...prompt out one
On Fri, May 18, 2012 at 11:48 PM, Jonathan D. Baker <
jonathandavidba...@gmail.com> wrote:
> Save is a method, so it needs parentheses: user.save()
>
> Sent from my iPhone
>
> On May 18, 2012, at 10:53 PM, Min Hong
Save is a method, so it needs parentheses: user.save()
Sent from my iPhone
On May 18, 2012, at 10:53 PM, Min Hong Tan wrote:
> Hi,
>
> I 'm trying to change password in views.py in one of my def.
> having the below code.
> newpassword ="testing123"
> user = User.objects.get(username__exact =
6 matches
Mail list logo