remove comment that refers to logic now done in get_image_edit_form

pull/766/head
Matt Westcott 2014-10-29 16:28:12 +00:00
rodzic a2e643679b
commit e605ac1120
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -54,7 +54,6 @@ def add(request):
Image = get_image_model()
ImageForm = get_image_form()
# Create a new image form class which doesn't contain the file field
if request.method == 'POST':
if not request.is_ajax():
return HttpResponseBadRequest("Cannot POST to this view without AJAX")