Django - Enhance Admin Interface

Hello Geeks, First of all, I would like to thank you for reaching here. No doubt you’re gonna be a successful Django developer ahead. Introduction In this blog, I am guiding to integrate django-jazzmin theme to the Django project. According to their documentation : Django Jazzmin is intended as a drop-in app to jazz up your Django admin site, with plenty of things you can easily customise, including a built-in UI customizer....

Mar 30, 2021 · 5 min · Arjun Adhikari

Django - Implement Autocompletion

Hello pals, In this blog, I am going to guide you to implement autocomplete in Django admin interface. I chose admin interface because it provides CRUD ( CREATE-READ-UPDATE-DELETE ) view for defined models out of the box. For implementing auto completion feature, I am going to use django-ajax-selects currently maintained by crucialfelix. Setup Let’s start by creating a django project. First of all, I’ll create a virtual environment .venv. You can create virtual environment just by python -m venv ....

Mar 26, 2021 · 4 min · Arjun Adhikari

Django - Luck Guesser App

The steps are: Create a directory. mkdir '$MY_DIR_NAME'. Navigate to that directory. cd $MY_DIR_NAME. Setup a virtual environment inside the directory. python -m venv .env Here, .env is name of virtual environment. You can name it as you like. But I started with period . so it gets listed at top in explorer view of IDEs and makes easier to explore through project files....

Mar 18, 2021 · 4 min · Arjun Adhikari

Django - Create App and Migrations

Hello pals, I hope you’re following me through the first installment of the series ‘Create Django Project’. Upto then, I’ve created a django project named weather_project. Project & Apps : What’s the fuss ? The typical next step is to start adding apps, which represent discrete areas of functionality. A single Django project can support multiple apps. So, I am creating an app inside the Django project for managing my application logic conveniently....

Mar 15, 2021 · 4 min · Arjun Adhikari

Django - Create Project

Hello pals, In this blog tutorial, I am guiding you to create a Django web application from stratch. Setup Virtual Environment Like every other Python Developers, we start a project by creating a virtual environment at first. A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them. So, create a virtual environment on your system. If you don’t have it installed, install from PyPi: pip install virtualenv...

Mar 6, 2021 · 3 min · Arjun Adhikari