At 10:35 AM 10/13/2007, Greg wrote:
[snip details of change to django code]
>That seems to fix the problem. Is the code that I took needed there
>for a reason? Will this changed have an effect on how other areas of
>my application work?
Yes, that code is needed and is there for a reason. The
Ok,
I've made some changes and now I'm able to add styles in the admin.
However, it required me to change change a django file that I'm not
sure I should change. Here is what i changed.
In c:\Python24\lib\site-packages\django\db\models\fields\__init__.py
and changed the method
Hello,
I just added the following field to my Style class:
newrugs = models.DateField(auto_now_add=True)
Now, when I try to view my Style objects in the admin I get the
following error:
AttributeError at /admin/plush/style/5/
'unicode' object has no attribute 'strftime'
3 matches
Mail list logo