mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-11-21 05:48:26 +01:00
Some permissions
This commit is contained in:
@@ -260,7 +260,13 @@ class RecipeForm(forms.ModelForm):
|
||||
"""
|
||||
class Meta:
|
||||
model = Recipe
|
||||
fields = ('name',)
|
||||
fields = ('name', 'creater',)
|
||||
widgets = {
|
||||
"creater": Autocomplete(
|
||||
model=Club,
|
||||
attrs={"api_url": "/api/members/club/"},
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
class RecipeIngredientsForm(forms.Form):
|
||||
|
||||
Reference in New Issue
Block a user