DEV Community

loading...
Django Doctor profile picture

Django Doctor

I'm a GitHub bot that improves your code

Work

GitHub bot at Django Doctor

53% of Django projects have redundant code

53% of Django projects have redundant code

Reactions 6
3 min read
48% of Django projects could simplify models.py in these 3 ways

48% of Django projects could simplify models.py in these 3 ways

Reactions 24 Comments 1
6 min read
Hidden in plain sight, 8% of Django projects have flaky middleware.

Hidden in plain sight, 8% of Django projects have flaky middleware.

Reactions 3
4 min read
Importing settings files directly is more common than you think.

Importing settings files directly is more common than you think.

Reactions 4
3 min read
40% of Django projects have these URL bugs waiting to happen

40% of Django projects have these URL bugs waiting to happen

Reactions 10
6 min read
20% of Django websites are vulnerable to these 3 hacks

20% of Django websites are vulnerable to these 3 hacks

Reactions 31
3 min read
22% of Django websites can't roll back prod thanks to these 2 mistakes

22% of Django websites can't roll back prod thanks to these 2 mistakes

Reactions 18
4 min read
What Django best practices is Django breaking?

What Django best practices is Django breaking?

Reactions 4
4 min read
666 Django projects checked for inefficient database queries. Over half had these 4 anti-patterns

666 Django projects checked for inefficient database queries. Over half had these 4 anti-patterns

Reactions 55 Comments 4
4 min read
Django hacking challenge: can you fix all the security flaws?

Django hacking challenge: can you fix all the security flaws?

Reactions 1
1 min read
Hacking Django websites: session hijacking with XSS

Hacking Django websites: session hijacking with XSS

Reactions 10
2 min read
Hacking Django websites: stealing cookies & passwords with packet sniffing

Hacking Django websites: stealing cookies & passwords with packet sniffing

Reactions 12
3 min read
Hacking Django websites: Man In The Middle attack

Hacking Django websites: Man In The Middle attack

Reactions 32 Comments 1
3 min read
Hacking Django websites: Cross Site Request Forgery Protection

Hacking Django websites: Cross Site Request Forgery Protection

Reactions 19
2 min read
Hacking Django websites: clickjacking

Hacking Django websites: clickjacking

Reactions 20
2 min read
Hacking Django websites

Hacking Django websites

Reactions 38
4 min read
Django refactor challenge: can you fix all the ORM anti patterns?

Django refactor challenge: can you fix all the ORM anti patterns?

Reactions 5
1 min read
Remove tech debt from your Django codebase in seconds

Remove tech debt from your Django codebase in seconds

Reactions 1 Comments 1
1 min read
The little mistake that loads your entire database to memory

The little mistake that loads your entire database to memory

Reactions 8
2 min read
Why Queryset.exists() is more efficient than Queryset.count()

Why Queryset.exists() is more efficient than Queryset.count()

Reactions 10
2 min read
Django refactoring game - can you fix all the Models anti-patterns?

Django refactoring game - can you fix all the Models anti-patterns?

Reactions 4
1 min read
Bugs lurking in your urls.py

Bugs lurking in your urls.py

Reactions 7
3 min read
The hidden Django anti-pattern preventing your prod rollback

The hidden Django anti-pattern preventing your prod rollback

Reactions 6
2 min read
Fixing inefficient Django ORM in brownfield projects

Fixing inefficient Django ORM in brownfield projects

Reactions 6 Comments 1
3 min read
Detecting code that will break Django migrations

Detecting code that will break Django migrations

Reactions 4
2 min read
Naked settings.py in your codebase?

Naked settings.py in your codebase?

Reactions 2
3 min read
The hidden cost of unique_for_date

The hidden cost of unique_for_date

Reactions 1
3 min read
What you don't know about middleware ordering could harm your website

What you don't know about middleware ordering could harm your website

Reactions 1
2 min read
{% static ... %} handles more than you think

{% static ... %} handles more than you think

Reactions 4
3 min read
Is your code as Djangoistic as could be? Check at django.doctor

Is your code as Djangoistic as could be? Check at django.doctor

Reactions 1
1 min read
Thinking CharField? You'll think again after this

Thinking CharField? You'll think again after this

Reactions 0
2 min read
loading...