Àå°í Àç°³ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Jean-Philippe Serafin
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/jean-philippe/
Àå°í Àç°³ ű×
Àå°í Àç°³ ¼³¸í
Django Àç°³°¡ °¡´ÉÇÑ Django ¹é¿£µå ½ºÅ͵带 Á¦°øÇÏ´Â Django ¾ÛÀº Django Àç°³ installation-pip ¼³Ä¡ django-sefable- add installation_appsviewsin ¼ø¼¿¡ Àç°³ °¡´É ÆÄÀÏÀ» ºñµ¿±â·Î ¾÷·ÎµåÇÏ·Á¸é ¾÷·Îµå µÈ ÆÄÀÏÀ» ó¸® ÇÒ ¿£µå Æ÷ÀÎÆ®¸¦ Á¤ÀÇÇؾßÇÕ´Ï´Ù. chunks :¿¡¼¿¡¼ django.contrib.auth.dogantators °¡Á® ¿À±â login_requiredfrom ´Ù½Ã ½ÃÀÛ. views resumableUploadViewURLPatterns + = ÆÐÅÏ ( ', URL (^ upload / $', login_required (resumableUploadView ', logipleduploadview)), À̸§ ='¾÷·Îµå '), À̸§ ='¾÷·Îµå '), ¶ÇÇÑ »ç¿ëÀÚ ´ç chunk ¾÷·Îµå µð·ºÅ丮¿¡ ´ëÇؼµµ °í·ÁÇؾßÇÕ´Ï´Ù : class myresumableUploadView (resumableUploadView) : return request.user.profile.chunks_dirfields Æû¿¡¼ Àç°³ °¡´ÉÇÑ ¾÷·Îµå¸¦ ó¸®ÇÏ·Á´Â °æ¿ì, Django ÇÙ½É Fielfield : Django.conf °¡Á® ¿À±â ¼³Á¤ From Django.core.urlresolvers ReverseFrom Àç°³ °¡Á® ¿À±â ResupableFileFieldClass ResumableForm (¾ç½Ä) : File = ResuleFable efield (allowed_mimes = ( "audio / ogg",), upload_url = lambda : reverse ( '¾÷·Îµå'), chunks_dir = getAttr (¼³Á¤, 'file_upload_temp_dir'))) javascriptdjango Àç°³°¡ °¡´ÉÇÑ È®Àå °¡´ÉÇÑ ÇÁ·ÐÆ® ¿£µå ½ºÅ©¸³Æ®°¡ ÇÔ²² Á¦°øµË´Ï´Ù. {%·Îµå static ÆÄÀÏ %}
Á¦Ç°ÀÇ È¨ÆäÀÌÁö
Àå°í Àç°³ °ü·Ã ¼ÒÇÁÆ®¿þ¾î