Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

If a file object is unsaved it may not have an associated URL.
If we're using FileField(use_url=True) in that case then return None for the field representation.

Superseeds #2759.

@lovelydinosaur lovelydinosaur added this to the 3.1.4 Release milestone Jun 24, 2015
lovelydinosaur added a commit that referenced this pull request Jun 24, 2015
…ize_to_none

Unsaved file objects may not have an associated URL.
@lovelydinosaur lovelydinosaur merged commit cd0c9b7 into master Jun 24, 2015
@lovelydinosaur lovelydinosaur deleted the unsaved_file_objects_serialize_to_none branch June 24, 2015 13:33
@lovelydinosaur lovelydinosaur modified the milestones: 3.1.4 Release, 3.2.0 Release Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants