~$ grep FileField downman/apps/downman/models/downman.py
meta.FileField('data', upload_to="upload"),
~$ grep MEDIA downman/settings/*.py
downman/settings/admin.py:ADMIN_MEDIA_PREFIX = '/media/'
downman/settings/main.py:MEDIA_ROOT = '/tmp/'
downman/settings/main.py:# URL that handles the media served from
MEDIA_ROOT.
downman/settings/main.py:MEDIA_URL = '/media/'
Even curiouser is the fact that pressing 'Save' on an empty form
doesn't give any errors either.
That leaves the question: If something bad happens -> where are the
tracebacks?
Andreas
Well, it's running as my user (non-root) with runserver, and
/tmp/upload is a directory
that I've created before (and no, it didn't work before I've created it
either).
What makes me wonder is, that nothing (neither the runserver output,
nor the created webpage) indicate an error. Which suggests either a
try: except: block that kills any exceptions, and/or an unexpected path
in the source :(
Andreas