uh remove the pdb set_trace()
This commit is contained in:
parent
91e246b965
commit
2513469028
|
@ -10,7 +10,7 @@ from ox.django.shortcuts import render_to_json_response
|
|||
from django.views.decorators.csrf import csrf_exempt
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.core.paginator import Paginator, InvalidPage, EmptyPage
|
||||
import pdb
|
||||
#import pdb
|
||||
|
||||
@login_required
|
||||
def googletranslate(request, model, field):
|
||||
|
@ -155,7 +155,7 @@ def stringtranslate(request):
|
|||
trans_field = field + "_trans"
|
||||
matches = m.objects.filter(q)
|
||||
savedObjects = 0
|
||||
pdb.set_trace()
|
||||
# pdb.set_trace()
|
||||
for match in matches:
|
||||
match.__setattr__(trans_field, translation)
|
||||
match.save()
|
||||
|
|
Loading…
Reference in New Issue
Block a user