Skip to content
Snippets Groups Projects

Feature/provenance

Merged Carlos Vega requested to merge feature/provenance into master
All threads resolved!
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -105,6 +105,7 @@ class AppointmentEditForm(AppointmentForm):
location = self.cleaned_data['location']
if self.user.locations.filter(id=location.id).count() == 0:
self.add_error('location', "You cannot create appointment for this location")
return None
else:
return location
Loading