15 Commits

Author SHA1 Message Date
xoliqberdiyev
8c01c1dc2d Merge branch 'main' of https://gitea.felixits.uz/sifatbaho/backend-v1 into behruz 2026-04-27 17:47:33 +05:00
xoliqberdiyev
921b54ab7c change url 2026-04-27 17:47:20 +05:00
github-actions[bot]
a74c348187 🔄 Update image to 134 [CI SKIP] 2026-04-27 12:44:14 +00:00
52fab30588 Merge pull request 'fix 500 error' (#115) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 2m8s
Reviewed-on: #115
2026-04-27 12:42:29 +00:00
github-actions[bot]
e346546d24 🔄 Update image to 133 [CI SKIP] 2026-04-27 12:09:19 +00:00
e97c6c7ab2 Merge pull request 'update deploy.yaml file' (#114) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 4m28s
Reviewed-on: #114
2026-04-27 12:07:23 +00:00
github-actions[bot]
f7706e77ee 🔄 Update image to 132 [CI SKIP] 2026-04-27 12:07:15 +00:00
affd3e1221 Merge pull request 'add filter to archive apis' (#113) from behruz into main
Some checks failed
Deploy to Production / build-and-deploy (push) Has been cancelled
Reviewed-on: #113
2026-04-27 12:05:24 +00:00
github-actions[bot]
3ac6263035 🔄 Update image to 131 [CI SKIP] 2026-04-27 12:01:46 +00:00
2c6d7dd2f7 Merge pull request 'fix 500 error' (#112) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 2m24s
Reviewed-on: #112
2026-04-27 11:59:43 +00:00
github-actions[bot]
b64073e1ad 🔄 Update image to 130 [CI SKIP] 2026-04-27 11:54:31 +00:00
e3ffdddc46 Merge pull request 'resolve the error' (#111) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 2m8s
Reviewed-on: #111
2026-04-27 11:52:47 +00:00
faea9bdb89 Merge pull request 'changing code structure' (#110) from behruz into main
Some checks failed
Deploy to Production / build-and-deploy (push) Failing after 56s
Reviewed-on: #110
2026-04-27 11:49:40 +00:00
github-actions[bot]
1dd1a132e4 🔄 Update image to 128 [CI SKIP] 2026-04-27 09:54:08 +00:00
04e193bae6 Merge pull request 'add new api' (#109) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 2m7s
Reviewed-on: #109
2026-04-27 09:52:24 +00:00
4 changed files with 7 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ from config.env import env
def home(request):
return HttpResponse("OK: #3ede209e52cd3cbd23fc608c3aa250f637882258")
return HttpResponse("OK: #52fab305884528d2208974a4cb939efa4edc096b")
urlpatterns = [

View File

@@ -30,5 +30,5 @@ urlpatterns = [
path("user/list/", UserListApiView.as_view(), name="user-list"),
path("admin-user/list/", AdminUserListApiView.as_view(), name="admin-user-list"),
path("admin/create/", AdminCreateAPIView.as_view(), name="user-create"),
path("admin/update/", AdminUpdateAPIView.as_view(), name="user-update"),
path("admin/update/<int:pk>/", AdminUpdateAPIView.as_view(), name="user-update"),
]

View File

@@ -64,11 +64,10 @@ class AdminCreateAPIView(APIView):
return Response(serializer.data, status=201)
@extend_schema(tags=['User'],
responses={200: UserSerializer},
request=UserCreateSerializer)
class AdminUpdateAPIView(APIView):
@extend_schema(tags=['User'],)
class AdminUpdateAPIView(generics.GenericAPIView):
permission_classes = [IsAuthenticated]
serializer_class = UserCreateSerializer
def put(self, request, pk):
if request.user.role not in (RoleChoice.SUPERUSER, RoleChoice.ADMIN):

View File

@@ -84,7 +84,7 @@ services:
max-file: "5"
web:
image: husanjon/sifatbaho:127
image: husanjon/sifatbaho:134
env_file:
- .env
environment:
@@ -129,7 +129,7 @@ services:
max-file: "5"
celery:
image: husanjon/sifatbaho:127
image: husanjon/sifatbaho:134
env_file:
- .env
environment: