Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Javad-Ak committed Sep 17, 2024
1 parent 5fc3170 commit ed44a92
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 220 deletions.
1 change: 0 additions & 1 deletion core/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from PIL.JpegPresets import presets
from django.contrib import admin
from core.models import (
Assistant,
Expand Down
219 changes: 0 additions & 219 deletions core/models.py.save

This file was deleted.

1 change: 1 addition & 0 deletions core/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def enroll(self, request, pk):
ev_service = EventService.objects.create(**args)
if obj.cost < 1:
ev_service.payment_state = 'CM'

ev_service.save()
return self.set_response(
message=SUCCESSFULLY_ADDED,
Expand Down

0 comments on commit ed44a92

Please sign in to comment.