id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 7144 FileField joins MEDIA_ROOT with FileDict cpinto nobody "The _get_FIELD_filename function in Model class joins MEDIA_ROOT with the FIELD's value, which is, apparently a FileDict. If I get the filename value out of the dict, the function appears to work properly. Below is a sample error: {{{ File ""/home/cpinto/programs/python/django/db/models/base.py"", line 436, in _get_FIELD_filename return os.path.join(settings.MEDIA_ROOT, getattr(self, field.attname)) File ""/usr/lib/python2.5/posixpath.py"", line 60, in join if b.startswith('/'): AttributeError: 'FileDict' object has no attribute 'startswith' }}} The proposed patch should fix this." closed Uncategorized dev invalid Unreviewed 1 0 0 0 0 0