Skip to content

Latest commit

 

History

History
67 lines (39 loc) · 1.7 KB

README.md

File metadata and controls

67 lines (39 loc) · 1.7 KB

DjangoEcommerceApi

created

  • initialize repository

update 1

  • make a basic API project for showing list of products by rest framework

update 2

  • primary comments was added.
  • auto slug feature was added (signals.py).
  • change database columns. models.py, serializers.py files was edited.
  • signals.py file was created.

update 3

  • fix some bugs in models.py and serializers.py files.
  • switch database from sqlite to postgresql.
  • hidden important and personal information in settings.py file, .env-sample file was added.
  • url router and viewset class. urls.py and views.py files was edited.

update 4

  • add some tests to tests.py file.
  • models.py, urls.py (config), settings.py files was edited.
  • add create and retrieve Api view in views.py file.

update 5

  • settings.py --> Add 'django_cleanup.apps.CleanupConfig' to INSTALLED_APPS.
  • admin.py --> Register 'Brand' and 'Category' models.
  • models.py --> Add 'Brand' and 'Category' models. Change modeling system (better modeling).
  • serializers.py --> Add 'create' method to make new object for 'Brand' and 'Category' models.
  • signals.py --> Update slug generator (better slug generator).
  • views.py --> Add feature to download images from received urls and set that for current object (ImageField get image just not url).

update 6

  • change structure of application --> Add 'account' and 'api' app.
  • admin.py --> add some settings.
  • authentication system --> change default User system.
  • Brand model removed.

update 7

  • add some filter for products.
  • use dj-rest-auth and jwt in project.

update 8

  • add view(hit) counter system for products.

update 9

  • Add vendor field to 'product' model.
  • Fix some bugs.