Useful Django admin improvements

Posted on Mon 02 April 2018 in Django, Programming • Tagged with django, python • 2 min read

A few improvements that will improve your django admin application.

Improve security of your Django admin:

Add Django Admin Honeypot. It is a fake Django admin login screen to log and notify admins of attempted unauthorized access. Also I recommend you to change your real admin url to URL with …

Continue reading

How to move a model between two Django apps

Posted on Mon 12 March 2018 in Programming, Django • Tagged with django, learning • 2 min read

Let's imagine that you have 2 django apps: article and blog. So first one has model Article as you already guessed. So we need to move our Article model from article app to blog app.

  • Copy your code of Article model from article app to blog app into …

Continue reading

Django Queryset: select and prefetch related.

Posted on Sat 19 August 2017 in Django • Tagged with python, django, queryset, select_related, prefetch_related • 1 min read

Some information for understanding Django Queryset methods: select_related and prefetch_relateds

Continue reading

How to learn Django Framework

Posted on Thu 16 March 2017 in Django • Tagged with python, django, learning • 1 min read

Sometimes I read Reddit, and I see that sometimes Django channel apeear questions about how to learn this framework great framework. First of all, it must be said that the documentation of Django is very well documented. And they have no less bad tutorial. It covers the most beginner questions …

Continue reading