Skip to content

Commit a085998

Browse files
committed
fix broken build
1 parent 8731daf commit a085998

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
@@ -48,7 +48,6 @@ def import_data(request):
4848
if request.method == "POST":
4949
form = UploadFileForm(request.POST, request.FILES)
5050
def choice_func(row):
51-
print row[0]
5251
q = Question.objects.filter(slug=row[0])[0]
5352
row[0] = q
5453
return row

0 commit comments

Comments
 (0)