Thank you Anthony. That is very clear now.
On Apr 10, 7:27 am, Anthony <
abasta...@gmail.com> wrote:
> On Saturday, April 9, 2011 6:37:15 PM UTC-4, niknok wrote:
>
> > Hello.
>
> > What is the difference between the statements: import datetime vs from
> > datetime import datetime
>
> > I got stuck with my IS_DATE_IN_RANGE error "<type
> > 'exceptions.AttributeError'>(type object 'datetime.datetime' has no
> > attribute 'timedelta')" until i added "import datetime" to the controller.
> > All the while, I thought I already loaded datetime because I already have
> > this line: "from datetime import datetime".
>
> The different methods of importing result in different namespaces -- seehttp://