ORM Char/TextField substring

2013-03-30 Thread temp4746
Does Django provide a way to only get part of a text string at the ORM level? That means using SQL functions as to only download a substring. As in the substr,left sql functions? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

FileField delete and update handling

2013-03-30 Thread temp4746
Hi, As it seems Django doesn't handle the update and delete of files from a FileField by itself leaving you them pretty hard to use by default. I tried search around but couldn't find a proper answer as to the correct way of handling this. I'm looking for the case where when the file is update