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

Ahmetbahadircol HW3#75

Open
ahmetbahadircol wants to merge 2 commits intoupy:mainfrom
ahmetbahadircol:ahmetbahadircol_HW3
Open

Ahmetbahadircol HW3#75
ahmetbahadircol wants to merge 2 commits intoupy:mainfrom
ahmetbahadircol:ahmetbahadircol_HW3

Conversation

@ahmetbahadircol
Copy link

  • Added serializers, filters, views and managers files to required apps.
  • Pagination API is implemented.

fields = ("customer", "status")

@staticmethod
def filter_name(self, qs, name, value):
Copy link
Owner

Choose a reason for hiding this comment

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

static yapince self eklenmemesi tercih edilir.

@@ -1,4 +1,4 @@
# 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 dosyalarinin iceriklerini ozel durumlar haricinde degistirmememiz gerekir.

"""
class Meta:
model = Address
fields = ["customer", "name", "full_name", "line1", "line2", "phone", "district", "zipcode", "city",
Copy link
Owner

Choose a reason for hiding this comment

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

serializerlar icerisinde id gondermemiz her zaman iyi olacaktir.

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.

2 participants