Improve error message

stable
Thomas Petazzoni 2009-08-30 00:58:15 +02:00
rodzic 1bc8ab5703
commit 9150cf23d1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -51,7 +51,7 @@ class MapRenderingJobForm(ModelForm):
self._errors["administrative_city"] = ErrorList([msg])
del cleaned_data["administrative_city"]
elif not city_exists(city):
msg = u"City doesn't exist. Try with proper casing."
msg = u"No administrative boundaries found for this city. Try with proper casing."
self._errors["administrative_city"] = ErrorList([msg])
del cleaned_data["administrative_city"]