Skip to content

Commit 3e0d102

Browse files
committed
Merge branch 'master' of https://github.com/chfw/django-excel
2 parents db00be1 + a085998 commit 3e0d102

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

polls/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from django.contrib import admin
2-
from models import Question, Choice
2+
from polls.models import Question, Choice
33
# Register your models here.
44
admin.site.register(Question)
55
admin.site.register(Choice)

polls/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def import_data(request):
5555
if request.method == "POST":
5656
form = UploadFileForm(request.POST, request.FILES)
5757
def choice_func(row):
58-
print row[0]
5958
q = Question.objects.filter(slug=row[0])[0]
6059
row[0] = q
6160
return row

0 commit comments

Comments
 (0)