Improved permissions, 404 and 403 errors will be more frequent (when we type an invalid URL)
This commit is contained in:
parent
c384ee02eb
commit
1aae18e6a6
13 changed files with 272 additions and 105 deletions
|
|
@ -49,7 +49,13 @@ class ClubForm(forms.ModelForm):
|
|||
model = Club
|
||||
fields = '__all__'
|
||||
widgets = {
|
||||
"membership_fee": AmountInput()
|
||||
"membership_fee": AmountInput(),
|
||||
"parent_club": Autocomplete(
|
||||
Club,
|
||||
attrs={
|
||||
'api_url': '/api/members/club/',
|
||||
}
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue