Skip to content

Commit

Permalink
Migrate merchants models to the new app
Browse files Browse the repository at this point in the history
  • Loading branch information
matti-lamppu committed Sep 23, 2024
1 parent ad123e4 commit 8f0fa8d
Show file tree
Hide file tree
Showing 124 changed files with 1,850 additions and 1,286 deletions.
3 changes: 1 addition & 2 deletions common/management/commands/data_creation/create_caisa.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from datetime import date, timedelta

from merchants.models import PaymentAccounting, PaymentMerchant, PaymentProduct
from opening_hours.models import OriginHaukiResource
from reservation_units.enums import (
AuthenticationType,
Expand All @@ -24,7 +23,7 @@
from reservations.models import ReservationMetadataSet
from spaces.models import Space, Unit
from tilavarauspalvelu.enums import TermsOfUseTypeChoices
from tilavarauspalvelu.models import TermsOfUse
from tilavarauspalvelu.models import PaymentAccounting, PaymentMerchant, PaymentProduct, TermsOfUse

from .utils import SetName, with_logs

Expand Down
2 changes: 1 addition & 1 deletion config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
]

if settings.MOCK_VERKKOKAUPPA_API_ENABLED:
urlpatterns.append(path("mock_verkkokauppa/", include("merchants.mock_verkkokauppa_api.urls")))
urlpatterns.append(path("mock_verkkokauppa/", include("tilavarauspalvelu.api.mock_verkkokauppa_api.urls")))

if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Expand Down
Loading

0 comments on commit 8f0fa8d

Please sign in to comment.