Maqolalardagi teglar django...


Django + pyTelegramBotAPI Keyboard #2 18/09/28 22:44

Django + pyTelegramBotAPI Keyboard #2

Django orqali qo'yilgan tugmalarga endi javob qaytarish! YouTube Mover.uz



Django + pyTelegrambotAPI Keyboard #1 18/09/27 22:19

Django + pyTelegrambotAPI Keyboard #1

Django backend orqali botda tugma yaratish! YouTube Mover.uz



Python-Django-Rest framework API 18/07/27 22:04

Python-Django-Rest framework API

Birinchi navbatda Django'i Django-rest-framework o'rnatamiz. #Linux: sudo pip3 install Django sudo pip3 install django-rest-framework #Windows: pip install Django pip install django-rest-framework Modullarni o'rnatib bo'ldi. Endi cmd yoki linux terminalini ochib, quyidagi buyruqni yozamiz: django-admin startproject myapi …



Django da tezkor test uslubi 16/10/03 22:46

Django da tezkor test uslubi

Kod qaysi dasturlash tilida yozilmasin, u albatta test qilinishi kerak. Ayniqsa, Django freymvorkda har bir ficha (feature) uchun test yozish va uni doimo tekshirib borish kerak. Django veb-freymvorkda ishlaydiganlar har bir yozilgan test to'liq tamomlanishi oz vaqtni olmasligini yaxshi bilishadi. Agar loyihaning bazasida modellar uchun muntazam ravishda migratsiya (migration) qo'llanilsa, testlarning vaqt olishi ham shuncha sekinlashadi. Buning sababi django.test.TestCase dan foydalanib yozgan…