I am considering storing image paths, file paths, and char fields in the same column of an SQL table. In django these would be ImageField
s, FileField
s and CharField
s. I would have a column that tells me what type of information is stored so I could handle it correctly.
I would like to take advantage of the django code already written to handle images and files. Would I make a custom field to do this sort of thing?