i broke things again, oops
This commit is contained in:
parent
616d74fba9
commit
a1ef8716f6
1 changed files with 2 additions and 2 deletions
|
@ -56,14 +56,14 @@ class RangingBeaconAltitudeQuest(Quest):
|
||||||
|
|
||||||
class RangingBeaconBSSIDsQuestForm(ChangeSetModelForm):
|
class RangingBeaconBSSIDsQuestForm(ChangeSetModelForm):
|
||||||
def clean_bssids(self):
|
def clean_bssids(self):
|
||||||
data = self.cleaned_data["bssids"]
|
data = self.cleaned_data["wifi_bssids"]
|
||||||
if not data:
|
if not data:
|
||||||
raise ValidationError(_("Need at least one bssid."))
|
raise ValidationError(_("Need at least one bssid."))
|
||||||
return data
|
return data
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = RangingBeacon
|
model = RangingBeacon
|
||||||
fields = ("bssids", )
|
fields = ("wifi_bssids", )
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def changeset_title(self):
|
def changeset_title(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue