from the admin panel, Please help me
The Model is
class JobTitle (models.Model):
# Char Fields
title = models.CharField(max_length = 250)
def __unicode__(self):
return u'%s' % (self.title) # Tried return self.title before, also
Tried force_unicode
Warning at /admin/hrm/jobtitle/add/
Incorrect string value: '\xD1\x84\xD1\x8B\xD0\xB2...' for column
'object_repr' at row 1Request Method: POST
Request URL: http://localhost:8000/admin/hrm/jobtitle/add/
Django Version: 1.2.3
Exception Type: Warning
Exception Value: Incorrect string value: '\xD1\x84\xD1\x8B
\xD0\xB2...'
for column 'object_repr' at row 1
Exception Location: /usr/lib/pymodules/python2.6/MySQLdb/
cursors.py in
_warning_check, line 82
Python Executable: /usr/bin/python
Python Version: 2.6.6
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment