Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for issue 11 #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chunked_upload_demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
# Application definition

INSTALLED_APPS = (
# 'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
# 'django.contrib.messages',
# 'django.contrib.staticfiles',
'chunked_upload',
Expand Down Expand Up @@ -90,4 +90,5 @@

TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.static',
'django.contrib.auth.context_processors.auth',
)
4 changes: 3 additions & 1 deletion chunked_upload_demo/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.conf import settings
from django.conf.urls import patterns, url
from django.conf.urls import patterns, url, include
from django.contrib import admin

from demo.views import (
ChunkedUploadDemo, MyChunkedUploadView, MyChunkedUploadCompleteView
Expand All @@ -18,4 +19,5 @@
url(r'^static/(.*)$',
'django.views.static.serve',
{'document_root': settings.STATIC_ROOT, 'show_indexes': False}),
url(r'^admin/', include(admin.site.urls)),
)
5 changes: 5 additions & 0 deletions demo/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin
from .models import MyChunkedUpload
from chunked_upload.admin import ChunkedUploadAdmin

admin.site.register(MyChunkedUpload, ChunkedUploadAdmin)
Empty file added demo/management/__init__.py
Empty file.
Empty file.
6 changes: 6 additions & 0 deletions demo/management/commands/delete_expired_upload.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from chunked_upload.management.commands.delete_expired_uploads import Command as BaseCommand
from demo.models import MyChunkedUpload

class Command(BaseCommand):

model = MyChunkedUpload
8 changes: 8 additions & 0 deletions static/js/crypto/lib-typedarrays-min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
(function(){if("function"==typeof ArrayBuffer){var b=CryptoJS.lib.WordArray,e=b.init;(b.init=function(a){a instanceof ArrayBuffer&&(a=new Uint8Array(a));if(a instanceof Int8Array||a instanceof Uint8ClampedArray||a instanceof Int16Array||a instanceof Uint16Array||a instanceof Int32Array||a instanceof Uint32Array||a instanceof Float32Array||a instanceof Float64Array)a=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);if(a instanceof Uint8Array){for(var b=a.byteLength,d=[],c=0;c<b;c++)d[c>>>2]|=a[c]<<
24-8*(c%4);e.call(this,d,b)}else e.apply(this,arguments)}).prototype=b}})();
19 changes: 19 additions & 0 deletions static/js/crypto/md5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions static/js/crypto/sha1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions static/js/crypto/sha224.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading