result is not part of datetime.datetime, use (
(datetime.datetime(result.mDATE.toordinal()) * result.mCOUNT)

On Wed, Nov 10, 2010 at 3:38 PM, Zeynel <[email protected]> wrote:
> On Nov 10, 9:11 am, Wim den Ouden <[email protected]> wrote:
>
>> I don't use templates but as a guess i think you use result.mCOUNT
>
> Ok. So I try something like this:
>
> for result in RESULTS:
>    WEIGHT = (datetime.datetime.result.mDATE.toordinal()) *
> result.mCOUNT
>
> but I get this error:
>
> WEIGHT = (datetime.datetime.result.mDATE.toordinal()) * result.mCOUNT
> AttributeError: type object 'datetime.datetime' has no attribute
> 'result'
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>



-- 
gr
wdo

Demo free E-business: https://e-comm.appspot.com
Wim den Ouden Google App Engine (cloud)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to