-
Couldn't load subscription status.
- Fork 31
[fix bug 1082208] Support media files and CDN. #66
Conversation
|
@Osmose r? |
|
@jgmize You think you can handle reviewing this? |
|
Apparently not. I'm back! |
|
Sorry I wasn't able to get to this for you while you were on vacation, @Osmose. |
|
No prob bob |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming these are images is a bad idea; we'll probably use this for videos soon after, and maybe someday even more than that. Just a link would probably be fine.
cc049cb to
80b87b9
Compare
|
Unfortunately factory_boy FileField doesn't work as advertized (generated objects don't have filename) so I ended up mocking a few things here and here glogiotatidis@80b87b9#diff-2a900c8e171c7001a9fabecc7bf9671eR222 Not a big problem, just explaining why I did it this way. |
|
Also I added a Background: I mistakenly updated an image UploadedFile with a pdf, because both of them get previewed in the File Manager. Since we keep the same filename, the file was served as jpg and firefox claimed that the file was corrupted. glogiotatidis@80b87b9#diff-7f9584d4e3d5f36896f37dfa5d87ed78R145 |
3f28d20 to
aaa45ec
Compare
snippets/base/models.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could just return here and below instead of using the variable.
|
r+wc, looks nice! |
8cb2475 to
ea6a0f1
Compare
04ffe13 to
a761e32
Compare
[fix bug 1082208] Support media files and CDN.
No description provided.