We are using the admin for one our projects. In our model, we have:
class Resource(models.Model): # ... filename = models.FileField(unique=True, upload_to="tick/resource", null=True, blank=True) We were just uploading an excel spreadsheet, which we've had no trouble doing in the past, and got an error: ProgrammingError at /resource/592/ (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''content': '\\'\\xd0\\xcf\\x11\\xe0\\xa1\\xb1\\\\Z\\xe1\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\' at line 1") Request Method: POST Request URL: http://server/resource/592/ Exception Type: ProgrammingError Exception Value: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''content': '\\'\\xd0\\xcf\\x11\\xe0\\xa1\\xb1\\\\Z\\xe1\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\' at line 1") Exception Location: C:\Python24\lib\site-packages\MySQLdb\connections.py in defaulterrorhandler, line 35 I'm really quite new to Django and have no clue on where to go for this. Could it be because of the apostrophes? If so, how could I correct that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---