Skip to content

Example code to test media storage? #4039

Answered by browniebroke
pamelafox asked this question in Q&A
Discussion options

You must be logged in to vote

From what I can tell, the default app UI doesn't have a media upload interface.

That is correct, the default project doesn't have any filefield by default.

I would like to test out the media storage mechanism as I'm on the Azure team at Microsoft and want to make sure that Azure storage works well.

Cool! Thanks for helping out, especially since I'm not using Azure myself. The feature was contributed by the community recently.

Does anyone have example code that utilizes the media storage? If not, my plan is to add an ImageField to the user model/form

Yes, that should be a good minimal working example. You should be able to upload from the admin if you don't want to touch the front-en…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pamelafox
Comment options

Answer selected by pamelafox
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants