How to reset Django admin password?

Open console using. python manage.py shell then use following script in shell from django.contrib.auth.models import User User.objects.filter(is_superuser=True) will list you all super users on the system. if you recognise your username from the list: usr = User.objects.get(username=’your username’) usr.set_password(‘raw password’) usr.save()        

Continue Reading →

How to download Files from the Web with the requests Module

The requests module lets you easily download files from the Web without having to worry about complicated issues such as network errors, connection problems, and data compression. The requests module doesn’t come with Python, so you’ll have to install it first. From the command line, run pip3 install requests. Next, do a simple test to make sure the requests module…

Continue Reading →

web scraping using python

webbrowser Comes with Python and opens a browser to a specific page. Requests Downloads files and web pages from the Internet. Beautiful Soup Parses HTML, the format that web pages are written in. Selenium Launches and controls a web browser. Selenium is able to fill in forms and simulate mouse clicks in this browser. webbrowser Module The webbrowser module’s open()…

Continue Reading →

I Can Hold Space For This Now

I’m not sure what caused it but I looked at our wedding photos the other night. It was late and I was alone. I’m not sure what caused it but I thought of you and couldn’t find you anywhere. So I looked back. Back to 7 years ago when it all began. I wondered if it would be triggering, what…

Continue Reading →

Review : Himalaya Herbals Lemon Face Wash

Organic products are my first choice to buy and try. As I am having oily skin type I rarely try random products cause it can promote my acne. My oily skin leads me to acne very often. My first face wash was Himalaya Neem Face wash, when I was in school probably. I recently bought Himalaya Oil Clear Lemon Face…

Continue Reading →

The Heart

Selling your home is devastating. Scratch that. Being forced to sell your home is devastating. When I found out about my ex’s affair, we immediately decided I would stay in the house. An hour after he admitted to yet another infidelity, he was packing his bags and leaving our home. Fast forward a couple months and we decided I would…

Continue Reading →

The Intolerance Debate In India

The word “intolerance” has been used by many celebrities over the last five years. This word came into the limelight not to criticize something bad happening, but because some started thinking that the government is not working as they want. Why Now? Nowadays the term “intolerance” is frequently used by some famous personalities just because they want to feign some…

Continue Reading →