Showing all Blogs posts

How to override Django Admin QuerySet?

Admin is one of the powerful battery in Django. The default app that comes with admin is useful for accessing the database values. Often times customise the result shown in the lists can be achieved using the custom QuerySet methods.

1 Dec, 2022


How to prevent partial rendering in HTMX?

To prevent partial rendering in HTMX you can use `HX-Request` to determine which HTML to sent to frontend.

4 Jul, 2022


How to change Browser URL in HTMX

To change browser URL in HTMX you have to use hx-push-url

1 Jul, 2022


How to redirect from server side in HTMX

HTMX works like Ajax request but in this blog post I have explained a way to redirect the user from server side.

30 Jun, 2022


How to check ForeignKey reverse relation exists in Django?

To check reverse relation exists in Django you need to use isnull keyword on queryset

27 Jun, 2022


How to setup Tailwind CSS in Hugo?

Hugo Tailwind CSS theme - Lets see how we can integrate Tailwind CSS to Hugo project.

27 May, 2022


Django Channels for Real Time Updates

How to convert a Django project into a real-time capable project. So that it will be easy to implement websockets, https2 features. And will be useful for creating chat application and notification system from Django Channels

23 May, 2022


Django Tailwind CSS Tutorial

How to integrate TailwindCSS with Django in 2022?. This post is for the people who wanted to integrate Django with tailwind but not interested in using NPM.

20 May, 2022


How to setup continuous deployment on Django application?

Automate flyctl deploy procedure by setting up CI/CD on Github Actions.

19 May, 2022


How to deploy Django project to

Deploying django application into paas server.

18 May, 2022