django bilan yozilgan haqiqatan ham oddiy, ammo foydalanish mumkin bo'lgan onlayn-do'kon. ushbu ilova mahsulot va buyurtmalarni boshqarish uchun maxsus asboblar panelini taqdim etadi,
foydalanuvchilar mahsulotni yoqtirishi va uni savatga qo'shishi mumkin, to'lov va buyurtma qo'llab-quvvatlanadi, ammo to'lov soxta to'lov bilan amalga oshiriladi.
Ushbu ilovada ikki turdagi foydalanuvchi mavjud: foydalanuvchi va menejer.
available to the user:
- savat
- shaxsiy ma'lumotlarni tahrirlash
- buyurtmalar
- sevimlilar
- elektron pochta orqali parolni tiklash
menejer bu barcha xususiyatlarga kirishi mumkin ushbu manzildagi maxsus dashboard paneli: http://127.0.0.1:8000/accounts/login/manager email: manager@example.com parol: managerpass1234
- mahsulot qo'shish
- mahsulotni tahrirlash va o'chirish
- yangi toifa qo'shing
- barcha buyurtmalar va buyurtma buyumlariga kirish
- python3
- django
- bootstrap
- sqlite3 database
- loyihani clone qilish yoki yuklab olish.
- katalogni ``` online-shop-django`` ga o`zgartiring
- make sure you have
python3
,pip
andvirtualenv
installed in your machine. - create virtualenv:
python3 -m venv venv
- active virtualenv: Mac & Linux os:
source venv/bin/activate
, Windows os:venv\scripts\activate
- install app requirements:
pip install -r requirements.txt
- databse migrate:
python manage.py migrate
- run the server:
python manage.py runserver
- you should be able to open this address now: http://127.0.0.1:8000/