凯文

讨论

    币游国际平台: Failed to establish a new connection: [Errno 111] Connection…","categoryID":3,"dateInserted":"2023-03-23T07:30:31+00:00","dateUpdated":null,"dateLastComment":"2023-03-29T05:33:50+00:00","insertUserID":314,"insertUser":{"userID":314,"name":"Kevin","url":"https:\/\/community.www.agrosoland.com\/profile\/Kevin","photoUrl":"https:\/\/w9.vanillicon.com\/v2\/9c6d11a3a2778c7d7991824c3da6d836.svg","dateLastActive":"2023-09-15T06:46:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":349,"lastUser":{"userID":349,"name":"Babarali","url":"https:\/\/community.www.agrosoland.com\/profile\/Babarali","photoUrl":"https:\/\/wd.vanillicon.com\/v2\/dd795ebe6a9cf14d3eb71362c894df9c.svg","dateLastActive":"2023-04-12T05:45:03+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":96,"score":null,"hot":3359625861,"url":"https:\/\/community.www.agrosoland.com\/discussion\/145\/i-deployed-my-django-webapp-on-pythonanywhere-but-users-cant-upload-images-sucessfully-to-cloudinary","canonicalUrl":"https:\/\/community.www.agrosoland.com\/discussion\/145\/i-deployed-my-django-webapp-on-pythonanywhere-but-users-cant-upload-images-sucessfully-to-cloudinary","format":"Rich","statusID":2,"attributes":{"question":{"status":"answered","dateAccepted":null,"dateAnswered":"2023-03-24T14:31:26+00:00"}},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":7,"urlcode":"Agree","name":"Agree","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":10,"urlcode":"Down","name":"Vote Down","class":"Negative","hasReacted":false,"reactionValue":-1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"bookmarked":false,"unread":false,"dismissed":false,"category":{"categoryID":3,"name":"Developer APIs","description":"Questions about our APIs, SDKs, and programmable media tools","url":"https:\/\/community.www.agrosoland.com\/categories\/developer-APIs","allowedDiscussionTypes":["discussion","question","poll"]},"tags":[{"tagID":32,"urlcode":"django","name":"django","type":"User"},{"tagID":41,"urlcode":"upload","name":"upload","type":"User"}]},{"discussionID":131,"type":"question","name":"How can I upload images and videos and get the url as a response using django-rest-framework?","excerpt":"Hi, please help me out.币游国际平台models.py class Posts(models.Model): image = models.ImageField(null=False) video = models.FileField( null=False, validators=[FileExtensionValidator(allowed_extensions=['MOV','AVI','MP4','WebM'])]) title = models.CharField(max_length=50) about = models.TextField() serializers.py class…","categoryID":3,"dateInserted":"2023-03-07T11:59:44+00:00","dateUpdated":null,"dateLastComment":"2023-03-08T09:16:58+00:00","insertUserID":314,"insertUser":{"userID":314,"name":"Kevin","url":"https:\/\/community.www.agrosoland.com\/profile\/Kevin","photoUrl":"https:\/\/w9.vanillicon.com\/v2\/9c6d11a3a2778c7d7991824c3da6d836.svg","dateLastActive":"2023-09-15T06:46:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":314,"lastUser":{"userID":314,"name":"Kevin","url":"https:\/\/community.www.agrosoland.com\/profile\/Kevin","photoUrl":"https:\/\/w9.vanillicon.com\/v2\/9c6d11a3a2778c7d7991824c3da6d836.svg","dateLastActive":"2023-09-15T06:46:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":159,"score":null,"hot":3356458602,"url":"https:\/\/community.www.agrosoland.com\/discussion\/131\/how-can-i-upload-images-and-videos-and-get-the-url-as-a-response-using-django-rest-framework","canonicalUrl":"https:\/\/community.www.agrosoland.com\/discussion\/131\/how-can-i-upload-images-and-videos-and-get-the-url-as-a-response-using-django-rest-framework","format":"Rich","statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-08T09:15:46+00:00","dateAnswered":"2023-03-08T00:03:00+00:00"}},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":7,"urlcode":"Agree","name":"Agree","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":10,"urlcode":"Down","name":"Vote Down","class":"Negative","hasReacted":false,"reactionValue":-1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"bookmarked":false,"unread":false,"dismissed":false,"category":{"categoryID":3,"name":"Developer APIs","description":"Questions about our APIs, SDKs, and programmable media tools","url":"https:\/\/community.www.agrosoland.com\/categories\/developer-APIs","allowedDiscussionTypes":["discussion","question","poll"]},"tags":[{"tagID":32,"urlcode":"django","name":"django","type":"User"},{"tagID":41,"urlcode":"upload","name":"upload","type":"User"}]}],"title":null,"subtitle":null,"description":null,"viewAllUrl":null,"isMainContent":false,"noCheckboxes":true}">
Baidu
map