ข้ามไปที่เนื้อหาหลัก

Object Final

 Final Examination OBJECT


You will be given the "project name" and django project name.


Inheritance 1 question

Polymorphism 1 question

(main.py)

Django database 1 question

Rest API → List items 1 question

Rest API → Item detail 1 question

Rest API → Transaction 1 question (Wallet App)


-----------------------------------------------------------------------------------------------------------------------------


pip install django

django-admin startproject mysite_project


py manage.py startapp catalog_app 


Create the database models in terminal


py manage.py makemigrations

py manage.py migrate

py manage.py createsuperuser


Rest API


pip install djangorestframework

pip install markdown      

pip install django-filter


pip install virtualenv


---------------------------------------------------------------------------------------------------------------------------


พยายามติดตั้ง 

py manage.py makemigrations

py manage.py migrate

ทุกครั้งหลังจาก เปลี่ยนรูปแบบโค้ด



ตัวอย่างของอาจาร ข้อ transaction 

https://github.com/omiejung01/PythonOO2_2023/tree/master08


บางข้อเหมือน assignment 1


i


ความคิดเห็น