Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.

Eylultuncel homework 3#76

Open
eylultuncel wants to merge 13 commits intoupy:mainfrom
eylultuncel:eylultuncel-homework-3
Open

Eylultuncel homework 3#76
eylultuncel wants to merge 13 commits intoupy:mainfrom
eylultuncel:eylultuncel-homework-3

Conversation

@eylultuncel
Copy link

Serializers, viewsets and filters added to all apps of the system
Pagination activated

router.register("shipping_addresses", ShippingAddressViewSet)
router.register("order_bank_accounts", OrderBankAccountViewSet)
router.register("orders", OrderViewSet)
router.register("order_items", OrderItemViewSet)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url tanımlamalarında "_" yerine "-" çizgi kullanılmalı
https://restfulapi.net/resource-naming/

@@ -1,6 +1,5 @@
# Generated by Django 3.2.9 on 2021-12-03 17:37
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

migration dosyalarina ozel durumlar haric dokunmamamizda fayda var.


class Meta:
model = Basket
fields = ("customer", "status")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id eklememizde fayda var.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants