mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00

"submitter", thus making it possible for a single person to manage multiple organisations, as well as for a single organisation to have multiple different manages. Re-hook events and news items to use organisation of the submitter instead of the user who did the submission. (product listings already did this)
10 lines
193 B
Python
10 lines
193 B
Python
from django import forms
|
|
|
|
from models import Organisation
|
|
|
|
class OrganisationForm(forms.ModelForm):
|
|
class Meta:
|
|
model = Organisation
|
|
exclude = ('lastconfirmed', 'approved', 'managers', )
|
|
|