murodalidev />
786 subscribers
252 photos
31 videos
52 files
105 links
Life is short, use Python

Welcome to community: @djangouzb
Download Telegram
Django Based Search

#django #search

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯9πŸ‘1
Django REST framework'dan foydalanganda bitta view'da turli action'larda turlicha serializer'lardan foydalanish

#django #drf #serializer

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘9
List'dan eng ko'p uzunlikka ega so'zni topish

#python #list

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5πŸ”₯2
zip() funksiyasi

#python #zip

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘8πŸ”₯2
python manage.py inspectdb

Bazi kutbxonalarni o'rnatganimzida migrate qilishimizga to'gri keladi chunki u kutbxonalar tayyor Model'lari bilan birga keladi. Yuqoridagi komanda orqali biz o'sha Model'larni (barcha modellarni) ko'rish imkoniyatiga ega bolamiz.

#python #django

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯2πŸ‘1🀯1
This media is not supported in your browser
VIEW IN TELEGRAM
Django admin'ni atigi bir qator kod bilan shunday ishlatishni xohlaysizmi, unda komentaridaya kodini ko'rib olishingiz mumkin,

"classes": ("collapse", )

#django #admin

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯3πŸ‘1
Easy integration celery with django

β€’ Django Celery
β€’ Django Celery Tasks
β€’ Django Celery Send Email Message With Backgroud Tasks
β€’ Django Celery Beat
β€’ Django Celery Results
β€’ Django Celery Periodic Tasks
β€’ Django Celery Schedule Tasks
β€’ Redis
β€’ Integrations SMTP For Sending Mail


#django #celery #redis #tasks

@murodalidev


https://github.com/murodalidev/django_with_celery
πŸ‘8⚑2πŸ”₯1
πŸ˜ƒπŸ˜ƒπŸ˜ƒ

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
😁12🀬1
API bilan ishlaganimizda biz yaratgan API'larga ikkinchi tomondan(mobile app yoki web saytning front end qismi nazarda tutilyapti yoki boshqa bir interface) bizning serverimizga request jo'nata olishi uchun biz qaysi host'dan kelgan request'larga backend'imiz javob berishini kontrol qilsak boladi, yani bu degani siz API chiqarib qoydiz degani hamma unga request jo'nata oladi degani emas, sizni back-end serveringizga request jo'natuvchiliar ro'yhatini ham qoshib qoyishingiz kerak boladi, bu albatta xavfsizlik tomondan oylangan.
Quyidani ketma-ketliklar orqali siz back-end'ingizga request jo'natishga ruhsat bersasiz:

pip install django-cors-headers

setting.py
INSTALLED_APPS = [
...
'corsheaders',
...
]
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
...
]
CORS_ALLOWED_ORIGINS = [
"https://127.0.0.1:3000",
"https://localhost:3000",
]

CORS_ALLOW_METHODS = [
'*'
]

CORS_ALLOW_HEADERS = [
'*'
]
CORS_ALLOW_CREDENTIALS = True

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯7⚑2πŸ‘1πŸ†1
πŸ“š Clean code in python

Keling clean code yozamiz, bu uchun sizga qaysi kitob kanalda tekinga ulashay ))

#python #book

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❀4🀑4πŸ”₯2πŸ†1
Clean_Code_in_Python_Develop_maintainable_and_efficient_code,_2nd.pdf
3 MB
πŸ“š Clean Code in Python Develop maintainable and efficient code, 2nd Edition by Mariano Anaya

#python #book

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘8🐳2⚑1πŸ†1
Result of logging in to instagram)

#python #yaxshiishemas #buyolingdanqaytjiyan

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ•Š5⚑1πŸ†1
Sizningcha dasturlashdan yomon maqsadlarda foydalanish yaxshimi?
Qoshimcha fikrlaringiz bo’lsa izohda qoldirishingiz mumkin!
Anonymous Poll
45%
Ha, yaxshi
55%
Yoq, yomon
🀑6
Python intermediate topics

#python #topics

@murodalidev βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
🀑5πŸ‘4πŸ†1