Code

Opened 7 years ago

Closed 7 years ago

#3778 closed (invalid)

File / image upload errors in Django / Ellington

Reported by: brivers@… Owned by: adrian
Component: contrib.admin Version: master
Severity: Keywords: file upload
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I added a file upload to my Django model. One line that says:
fileupload = meta.FileField(upload_to='media/songs/%Y-%m/', blank=True, null=True)

Then I created a field in the database table "songs" called "fileupload" > varchar[200]

When I run the script by uploading something, I get this error.

ERROR: array value must start with "{" or dimension information UPDATE

Can anyone help me?

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Since this is apparently related to Ellington modifications you're making and not to Django itself, I'm going to close this out for now and get in touch with you directly.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.