Django Designing Better Models
Models definition is one of the most important parts of your application. Something that makes all the difference is defining the field types properly
Ideas you can put to work
Explore software, AI, and the systems behind everyday applications.
Practical explanations, examples, and things to try.
Models definition is one of the most important parts of your application. Something that makes all the difference is defining the field types properly
Python Decouple is a great library that helps you strictly separate the settings parameters from your source code. The idea is simple: Parameters related to the project, goes straight to the source code. Parameters related to an instance of the project, goes to an environment file.
Generators are iterators, a kind of iterable you can only iterate over once. An iterator is an object that can be iterated (looped) upon.
A virtual environment is a self-contained directory tree that contains dependencies required by different projects isolated to existing packages. By using virtual Python environments, applications can run in their own ‘sandbox’ in isolation of other Python applications
Python is a versatile language used for multi-purpose programming it is undoubtedly the most popular dynamic programming language that is being used today. Python is an excellent choice for beginners and experienced developers.
Django Jazzmin, 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.
Models inheritance works the same way as normal Python class inheritance works, the only difference is, whether we want the parent models to have their own table in the database or not.
Learn about the best practices working with Django models using python. What should be the name of the model. How to use related name with foreign keys.
Django provides management commands, which can be use to backup(export) or import the model instances or whole database.
Learn how to generate and save a QR code in Python using the qrcode library. Customizable and versatile, QR codes are a valuable tool for businesses and individuals.
Learn how to generate and save a QR code in Python using the qrcode library. Customizable and versatile, QR codes are a valuable tool for businesses and individuals.
Learn how to setup Gmail API and use to send and read email using Gmail API in python.
Learn how to use select_related and prefetch_related queries in django to optimize query.
Learn Django Querysets and Aggregations, Optimize the Django Queryset operations
Maximize your search results with these insider tips for using Google like a pro. Find information faster and easier.
Some tasks that you can easily automate using python script.
Python Methods | List | Tuple | Set | Dictionary
Python Libraries & Frameworks | Pandas, Numpy, Django, Flask, Requests, Scrapy, Requests, Matplotlib, Tensorflow, OpenCV etc
Learn how to install PyMongo & Pandas, create a logging class, and use the MongoDB class in Python for various tasks.