Skip to content

Commit

Permalink
changed sort to id instead of base62 (possible removal of base62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark A. Valentin authored and Mark A. Valentin committed Apr 26, 2012
1 parent 7ed8d1c commit 172ccb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/views.py
Expand Up @@ -72,7 +72,7 @@ def upload(request):
f.write(data)
f.close()
return render_to_response('list_images.html',
{'images': Image.objects.order_by('-base62')[:fileCount],
{'images': Image.objects.order_by('-id')[:fileCount],
'settings': settings},
context_instance=RequestContext(request))

Expand Down

0 comments on commit 172ccb4

Please sign in to comment.