@ -8,6 +8,8 @@ from datetime import datetime
@admin.action(description="Sjednoť telefony")
def sjednot_telefony(admin, request, queryset):
for o in queryset:
if o.telefon == '':
continue
try:
telefon = int(o.telefon.replace(" ", "").replace("+", ""))
# 6 míst