Skip to content

Commit 5aba490

Browse files
committed
README merged
1 parent 214e432 commit 5aba490

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

fileupload/templates/base.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="description" content="File Upload widget with multiple file selection, drag&amp;drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1111
<!-- Bootstrap CSS Toolkit styles -->
12-
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.min.css">
12+
-<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.min.css">
1313
<!-- Generic page styles -->
1414
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css">
1515
<!-- Bootstrap styles for responsive website layout, supporting different screen sizes -->
@@ -53,4 +53,4 @@ <h1>No content set</h1>
5353

5454
{% endblock %}
5555
</body>
56-
</html>
56+
</html>

fileupload/templates/fileupload/picture_form.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ <h2 class="lead">Basic Plus UI version</h2>
4545
<!-- The table listing the files available for upload/download -->
4646
<table role="presentation" class="table table-striped"><tbody class="files"></tbody></table>
4747
</form>
48-
<div class="fileupload-content">
49-
<table class="files"></table>
50-
<div class="fileupload-progressbar"></div>
51-
</div>
5248
</div>
5349
<!-- The blueimp Gallery widget -->
5450
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" data-filter=":even">
@@ -85,4 +81,4 @@ <h3 class="title"></h3>
8581
<!--[if gte IE 8]>
8682
<script src="{{ STATIC_URL }}js/cors/jquery.xdr-transport.js"></script>
8783
<![endif]-->
88-
{% endblock %}
84+
{% endblock %}

fileupload/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from django.conf.urls import patterns, url
1+
from django.conf.urls.defaults import patterns, url
22
from fileupload.views import PictureCreateView, PictureDeleteView
33

44
urlpatterns = patterns('',

fileupload/views.py

-5
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ def form_valid(self, form):
4141
response['Content-Disposition'] = 'inline; filename=files.json'
4242
return response
4343

44-
def get_context_data(self, **kwargs):
45-
context = super(PictureCreateView, self).get_context_data(**kwargs)
46-
context['pictures'] = Picture.objects.all()
47-
return context
48-
4944

5045
class PictureDeleteView(DeleteView):
5146
model = Picture

0 commit comments

Comments
 (0)