How to add authentication to your Django website?
This video series is by far the best on how to learn to set up authentication on your Django website.
This video series is by far the best on how to learn to set up authentication on your Django website.
This error was driving me crazy. There were no logs that I could find and the html was just <h1>Incomplete Response Received from Application</h1> My localhost was working fine though. The reason was that I was using a library that I had not yet installed! I was using “import requests” but this was not on… Read More »
To fix a python error such as “ModuleNotFoundError: No module named ‘tweepy’”, you should check your version of python with: Often you will have one version installed but trying to execute the script with another version where the module is not installed. Check your python version in your path with: For me, my path specific… Read More »
To solve the error below: I needed to install mysql_connector via: I had already installed mysql via: But python needs both.
If you have changed your database schema, you can up date your model by first running the inspectdb command. If you have too many tables in your database, pipe the results to a temporary file first and then manually copy the models over. Then run: ref: https://dev.to/idrisrampurawala/creating-django-models-of-an-existing-db-288m
Secure Copy scp [file on your computer] [destination host]:[folder] PIP JSON viewer https://jsonlint.com/ One way to traverse YouTube is [header][c4TabbedHeaderRenderer][subscriberCountText][accessibility][accessibilityData][label] However, an easier way is to use a helper site.
Dreamhost has a great resource for installing Python which can be found at: https://help.dreamhost.com/hc/en-us/sections/203651898-Python In particular, if you are using Python 3, this is the resource guide to use: https://help.dreamhost.com/hc/en-us/articles/115000702772-Installing-a-custom-version-of-Python-3
The shortcut keys are: ctrl + j to make your json a single line ctrl + cmd + x to make your single line json back to multi line
TL;DR To get from this: to this: Do this: The deets Often when explaining a concept in programming, there are many ways to achieve the task. For example, Yarn or NPM package managers can be used and instructions are provided for both. There is a neat little hack where code-groups can be used to produce… Read More »
TestProject is a really neat app to perform automated testing. It takes a bit of getting use to but is generally really easy to use. I had a situation where I was manually logging in every hour to get solar data in order to plot my cumulative generation. I get instantaneous output overtime from the… Read More »