remove BSSID validator because it is no longer used

This commit is contained in:
Laura Klünder 2018-09-19 22:13:06 +02:00
parent 99141f1d49
commit c79d87166b

View file

@ -4,7 +4,6 @@ import typing
from django.conf import settings
from django.core.exceptions import ValidationError
from django.core.validators import RegexValidator
from django.db import models
from django.utils.functional import cached_property, lazy
from django.utils.text import format_lazy
@ -17,9 +16,6 @@ from shapely.geometry.base import BaseGeometry
from c3nav.mapdata.utils.geometry import clean_geometry
from c3nav.mapdata.utils.json import format_geojson
validate_bssid_lines = RegexValidator(regex=r'^([0-9a-f]{2}(:[0-9a-f]{2}){5}(\r?\n[0-9a-f]{2}(:[0-9a-f]{2}){5})*)?$',
message=_('please enter a newline seperated lowercase list of BSSIDs'))
logger = logging.getLogger('c3nav')