Re: Can not under stand the error obtained when validating a model.py

2008-09-18 Thread Karthik Krishnan
Hi Steve, That was the problem. My django package was corrupted. Reinstalling django package worked. Thanks, Karthik On Sep 17, 4:56 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Karthik Krishnan wrote: > > Hi Norman, > > > But if I have an empty file, models.py, that should thrown an error. >

Re: Can not under stand the error obtained when validating a model.py

2008-09-17 Thread Steve Holden
Karthik Krishnan wrote: > Hi Norman, > > But if I have an empty file, models.py, that should thrown an error. > > Thanks, > > Kartik > > On Sep 17, 1:45 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > >> [...] >>> from django.db.models.fields import DateField >>> File "C:\tools\Python25\

Re: Can not under stand the error obtained when validating a model.py

2008-09-17 Thread Karthik Krishnan
Hi Norman, But if I have an empty file, models.py, that should thrown an error. Thanks, Kartik On Sep 17, 1:45 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > Karthik Krishnan wrote: > > The stack trace is given below > > > Traceback (most recent call last): > >   File "manage.py", line 11, i

Re: Can not under stand the error obtained when validating a model.py

2008-09-17 Thread Norman Harman
Karthik Krishnan wrote: > The stack trace is given below > > Traceback (most recent call last): > File "manage.py", line 11, in > execute_manager(settings) > File "c:\tools\Python25\Lib\site-packages\django\core\management > \__init__.py", > line 340, in execute_manager > utility.ex

Can not under stand the error obtained when validating a model.py

2008-09-17 Thread Karthik Krishnan
The stack trace is given below Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "c:\tools\Python25\Lib\site-packages\django\core\management \__init__.py", line 340, in execute_manager utility.execute() File "c:\tools\Python25\Lib\site