Skip to content

Commit

Permalink
Migrate reservation unit models to the new app
Browse files Browse the repository at this point in the history
  • Loading branch information
matti-lamppu committed Sep 27, 2024
1 parent 986007e commit 9e34381
Show file tree
Hide file tree
Showing 283 changed files with 6,274 additions and 5,107 deletions.
341 changes: 0 additions & 341 deletions actions/reservation_unit.py

This file was deleted.

3 changes: 1 addition & 2 deletions applications/admin/application_round/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
from applications.enums import ApplicationRoundStatusChoice
from applications.models import ApplicationRound
from common.fields.forms import disabled_widget
from reservation_units.models import ReservationUnit
from tilavarauspalvelu.enums import TermsOfUseTypeChoices
from tilavarauspalvelu.models import TermsOfUse
from tilavarauspalvelu.models import ReservationUnit, TermsOfUse


class ApplicationRoundAdminForm(forms.ModelForm):
Expand Down
2 changes: 1 addition & 1 deletion applications/admin/application_section/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from applications.enums import ApplicationSectionStatusChoice
from applications.models import Application, ApplicationSection, ReservationUnitOption, SuitableTimeRange
from common.fields.forms import disabled_widget
from reservation_units.models import ReservationUnit
from tilavarauspalvelu.models import ReservationUnit


class ReservationUnitOptionInlineAdminForm(forms.ModelForm):
Expand Down
Loading

0 comments on commit 9e34381

Please sign in to comment.