Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Jan 29, 2025
1 parent d248a7c commit 620b923
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adhocracy4/dashboard/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
class ProjectCreateForm(forms.ModelForm):
class Meta:
model = project_models.Project
geo_field = "point"
fields = ["name", "description", "image", "image_alt_text", "image_copyright"]

def __init__(self, organisation, creator, *args, **kwargs):
Expand Down Expand Up @@ -61,6 +62,7 @@ def save(self, commit=True):
class ProjectBasicForm(ProjectDashboardForm):
class Meta:
model = project_models.Project
geo_field = "point"
fields = [
"name",
"description",
Expand Down

0 comments on commit 620b923

Please sign in to comment.