Blog

Page 143 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Capturing URL parameters in request.GET
url

Capturing URL parameters in request.GET

Published on September 2, 2023

# πŸ“ Tech Blog: Capturing URL Parameters in request.GET Hey there, tech enthusiasts! πŸ‘‹ Are you struggling with capturing URL parameters using the `request.GET` object in Django? πŸ€” Don't worry, we've got your back! In this blog post, we'll tackle some co

Cover Image for How can I filter a Django query with a list of values?
python

How can I filter a Django query with a list of values?

Published on September 2, 2023

# How to Filter a Django Query with a List of Values πŸ˜ŽπŸ” Are you tired of writing multiple queries to filter your Django model based on a list of values? Don't worry, there's a smarter way to achieve this! πŸš€ In this blog post, we'll explore how to filte

Cover Image for How to reset Django admin password?
passwords

How to reset Django admin password?

Published on September 2, 2023

# How to Reset Your Django Admin Password πŸπŸ’»πŸ”’ So you've forgotten the admin username and password for your Django application? 😱 Don't worry, it happens to the best of us! In this blog post, we'll walk you through the process of resetting your Django

Cover Image for How to debug in Django, the good way?
debuggingpython

How to debug in Django, the good way?

Published on September 2, 2023

πŸ”Ž **How to Debug in Django, the Good Way?** πŸ” If you're new to Python and Django, you've probably encountered the daunting task of debugging your code. It's easy to get lost in the sea of tracebacks and syntax errors, but fear not! I've got some tips an

Cover Image for How can I upgrade specific packages using pip and a requirements file?
pipvirtualenv

How can I upgrade specific packages using pip and a requirements file?

Published on September 2, 2023

# Upgrading Specific Packages Using Pip and a Requirements File Are you facing issues with upgrading specific packages using pip and a requirements file in your virtualenv for your Django projects? Do you keep encountering source code conflicts and can't

Cover Image for What is related_name used for?
python

What is related_name used for?

Published on September 2, 2023

# 🌟Unlocking the Mystery Behind `related_name`! πŸ—οΈ Are you new to Django's `related_name` keyword argument? πŸ€” Don't worry, you're not alone! Many developers find it confusing at first. But fear not, this blog post will demystify `related_name` and help

Cover Image for What does on_delete do on Django models?

What does on_delete do on Django models?

Published on September 2, 2023

# What does `on_delete` do on Django models? πŸ€” If you've been working with Django, you may have come across the `on_delete` option in models. It's a bit mysterious, as the official documentation doesn't provide much detail. But worry not! We're here to b

Cover Image for How to check Django version
commandcommand-linepythonversion

How to check Django version

Published on September 2, 2023

# 🐍 How to Check Django Version 🌐 Django is a powerful web development framework written in Python 🐍. If you're working with Django and have multiple Python versions installed, it's essential to determine which version Django is using, along with the v

Cover Image for Where does pip install its packages?
pippythonvirtualenv

Where does pip install its packages?

Published on September 2, 2023

# Where Does Pip Install Its Packages? πŸ“¦πŸ’» So, you have successfully installed Django using pip in a virtualenv, but now you're wondering where the folder is located. Don't worry, I've got you covered! In this blog post, I'll explain where pip installs i

Blog | Matheus Mello