Re: Getting error: 'unicode' object has no attribute 'strftime'

2007-10-13 Thread Karen Tracey
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

Re: Getting error: 'unicode' object has no attribute 'strftime'

2007-10-13 Thread Greg
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

Getting error: 'unicode' object has no attribute 'strftime'

2007-10-12 Thread Greg
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'