```python
from django.core.files import File

content = urllib2.urlopen(uc_file.cdn_url)
local_photo.photo.save(uc_file.filename(), File(content))
```