Blog: django


Django vs Laravel — Which framework to choose?
python

Django vs Laravel — Which framework to choose?

When it comes to a framework of choice - be it for web or mobile development - the jury would have a hard time picking which would be crowned king. This is not to say there are no strong contenders.

9 Quick Ways to Optimize & Speed Up Queries in Django
python

9 Quick Ways to Optimize & Speed Up Queries in Django

Django's ORM empowers developers by offering a seamless bridge to databases without the intricacies of detailed SQL queries. Yet, the convenience of the ORM doesn't absolve us from the pitfalls of suboptimal queries which can throttle performance and burden servers. In this article we show 9 quick ways to speed up queries in Django.

How to build a Rest API with the Django REST Framework?
python

How to build a Rest API with the Django REST Framework?

If you hang around developers long enough you will start hearing the word REST very often and so we begin our adventure by giving a simple definition of the term. The REST acronym stands for Representational State Transfer, which is an architectural design. So it follows that when developers use the words RESTful, what is being referred to is an application that implements the REST architectural design.

Django Best Practices — Refactoring Django Fat Models
python

Django Best Practices — Refactoring Django Fat Models

Every developer understands the advantages of having clean, easy to read and understand coding. Which is where tools like QuerySet and Manager come into play when using Django. They embed basic DRY and KISS principles that most forget about when using ORM in many frameworks. This has lead to the use of Fat Models which might seem fine in the first place but can lead to complications down the road.

Pros and Cons of Django as web framework for Python developers
python

Pros and Cons of Django as web framework for Python developers

Django describes itself as "the web framework for perfectionists with deadlines". It was designed to help Python developers take applications from concept to completion as quickly as possible. Learn advantages and disadvantages of Django.

7 Common Mistakes That Django Developers Make
python

7 Common Mistakes That Django Developers Make

Django is powerful web framework, but with power comes responsibility. In this article, we will cover common mistakes that are even seasoned Django developers make, yet most successful Django projects need to deal with these sooner or later. This checklist should useful even if you’re a skilled Django developer because mistakes, like not adding indexes on models or inconsistent data validation, aren’t just limited to new developers.