Django and DRF

Description
Purpose is sharing, spreading knowledge which is most related to the Django and Django Rest Framework(DRF)

You can find in here my
- Articles
- Projects with source codes
- Videos
and another useful stuffs
Advertising
We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 3 months, 1 week ago

Your easy, fun crypto trading app for buying and trading any crypto on the market

Last updated 3 months ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 4 days, 5 hours ago

5 months, 3 weeks ago

Helpful Interview questions for Backend developers.

7 months, 2 weeks ago

Django Optimization
1. Use Advanced Expressions (Q, F, When, Case, ..)
2. Use django debug-toolbar to analyze and optimize each api or function
3. Caching data for not getting again
4. Use annotate(), aggregate() functions
5. Implement select_related(), prefetch_related() instead of increasing query's count
6. Use count() not len()
7. Avoid retrieving data which you don't need: use values_list(), values()
8. Use bulk_create() to create multiple entries
9. Use foreignkey values directly: book.user.id , book.user_id
10. Use Celery to do tasks using queues
....
qolganini commentda davom ettirishingiz mumkin ?

Optimization haqidagi videolar to'plami: https://youtube.com/playlist?list=PLmSbOYZOHCRoNruZA0prIvOVu2mv3JzFm&feature=shared

7 months, 2 weeks ago

Django loyihasiga ElasticSearch implementatsiya qilmoqchi bo'lganlar uchun
1. https://django-elasticsearch-dsl-drf.readthedocs.io
2. https://django-elasticsearch-dsl.readthedocs.io/en/latest/

ElasticSearch - bu qidiruv tizmi uchun eng optimal variantlardan biri va loyihangizda live-search ni qullamoqchi bo'lsangiz juda qo'l keladi.

o'rganish uchun:
1. https://testdriven.io/blog/django-drf-elasticsearch/
2. https://www.udemy.com/course/elasticsearch-complete-guide/

bu haqida batafsil post qilaman.

7 months, 3 weeks ago

???? ?? ??????? ???????? ??????? (???)?

A CDN is a distributed network of servers strategically located across various geographical locations to deliver web content, such as images, videos, and other static assets, more efficiently to users.

The primary purpose of a CDN is to reduce latency and improve the overall performance of web applications by serving content from the server nearest to the user. CDNs can also help improve reliability, availability, and security of web applications.

???????? ?? ????? ? ???
CDNs play a crucial role in enhancing the performance, reliability, and security of modern web applications. Here are the top benefits of using CDNs:

?1. Reduced latency: By serving content from geographically distributed edge servers, CDNs reduce the time it takes for content to travel from the server to the user, resulting in faster page load times and improved user experience.

?2. Improved performance: CDNs can offload static content delivery from the origin server, freeing up resources for dynamic content generation and reducing server load. This can lead to improved overall performance for web applications.

?3. Enhanced reliability and availability: With multiple edge servers in different locations, CDNs can provide built-in redundancy and fault tolerance. If one server becomes unavailable, requests can be automatically rerouted to another server, ensuring continuous content delivery.

?4. Scalability: CDNs can handle sudden traffic spikes and large volumes of concurrent requests, making it easier to scale web applications to handle growing traffic demands.

?5. Security: Many CDNs offer additional security features, such as DDoS protection, Web Application Firewalls (WAF), and SSL/TLS termination at the edge, helping to safeguard web applications from various security threats.

Reference: Introduction to CDN: https://lnkd.in/gwygXpcR

CDN haqida yana qanday +, - larini bilasiz ?

lnkd.in

LinkedIn

This link will take you to a page that’s not on LinkedIn

8 months, 1 week ago

Django Rest Framework orqali API lar chiqarganimizda ularni frontend dasturchilarga tushunarli tarzda yetkazishimiz uchun Dokumentatsiya yozishimiz kerak bo'ladi.

Shu documentatsiyani yozish uchun DRF da 2 ta popular packagelar bor drf-spectacular va drf-yasg,
Savol: Ikkalasini kotta farqi nimada ?, qanday advantage, disadvantage lari bor ?

8 months, 1 week ago

Bitta Django Loyihada qanday qilib bir nechta Database lardan foydalanish mumkin ?

#edited

8 months, 2 weeks ago

Backend dasturchi bilishi kerak bo'lgan eng muhim 'qobiliyat' nima deb o'ylaysiz ?

Javoblarni komentariyada qoldiring, men uzimnikini kun yakunida qoldiraman.

We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 3 months, 1 week ago

Your easy, fun crypto trading app for buying and trading any crypto on the market

Last updated 3 months ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 4 days, 5 hours ago