mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
One more spot missed when renaming organisation field
This commit is contained in:
@ -9,7 +9,7 @@ If you have not done so, use <a href="/account/organisations/new/">this form</a>
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(ProfessionalServiceForm, self).__init__(*args, **kwargs)
|
||||
def filter_by_user(self, user):
|
||||
self.fields['organisation'].queryset = Organisation.objects.filter(managers=user, approved=True)
|
||||
self.fields['org'].queryset = Organisation.objects.filter(managers=user, approved=True)
|
||||
class Meta:
|
||||
model = ProfessionalService
|
||||
exclude = ('submitter', 'approved', )
|
||||
|
Reference in New Issue
Block a user