Re: Complains about FileField not deleting files in 1.3.

2012-07-14 Thread -RAX-
It took me a while but I have opensourced a tool to clean the media folder from all the leftovers. It's a cron job with a simple admin gui. Also handles multiple upload folders. We have been using something similar to this internally for more than a year, and we are pretty happy about it. http

Re: django.contrib.admin and null=True

2010-12-08 Thread -RAX-
By default Admin saves an empty string in those TextFields and CharFields defined as null = True. Whatever the semantic reasons are, this default behavior creates problems in those fields which are both unique = True and null = True because by saving an empty string they do not respect that null !

Re: Intermittent IOError exception raised and emailed to admins during file upload.

2011-02-04 Thread -RAX-
Have you considered the possibility that it would be a client/browser side error? Both windows7 and chrome have a known open bug with large file uploads. Many of my customers have reported this bug, all of them using windows7 and chrome. Has anyone seen this happening from a Mac or from Linux? O

Complains about FileField not deleting files in 1.3.

2011-03-27 Thread -RAX-
I am referring to this: http://docs.djangoproject.com/en/dev/releases/1.3/#filefield-no-longer-deletes-files Instead of preventing the data loss from happening a very usefull feature has been removed. Why not simply letting the developer decide when to enable or disable it with a constructor boole

Re: Complains about FileField not deleting files in 1.3.

2011-03-28 Thread -RAX-
> One query for each model > containing one or more FileFields is enough to build a list of the files > that ought to exist, and any file not in that list can presumably be > removed. How can I sleep at night knowing that there is a maintenance cron job deleting files which can be "presumably be r