En/na marsii ha escrit:
> Hi!
> I working whit the book Practical Django Project and have a problem
> with th weblog example.
>
> (I have Django revision 8511.
>
> I got the following error when I try to add an entry:
> ---------------------------------------------------
> TypeError at /admin/coltrane/entry/add/
>
> 'module' object is not callable
>
> Request Method: POST
> Request URL: http://127.0.0.1:8000/admin/coltrane/entry/add/
> Exception Type: TypeError
> Exception Value:
>
> 'module' object is not callable
>
> Exception Location: /home/markku/django/practical_djproj/coltrane/
> models.py in save, line 76
> Python Executable: /usr/bin/python
> Python Version: 2.5.2
> ---------------------------------------------------
>
> copy of my models.py (error line 76 is marked):
>
> --------------------------------------------------
>
I have the same code, I think..., and I doesn't get that error.
Try to put comments in the whole method save() or in the line 76 so that
we can see where is the problem...
Cheers...
--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---