-
What happens when you accidentally commit a large file in your local repo?
This was the error message I got when I tried to upload my changes to the remote repo. git push origin master. remote: error: GH001: Large files detected. You may want to try Git Large File Storage – https://git-lfs.github.com. remote: error: Trace: e397fc16b6c3b712eb7068d69417a5b1 remote: error: See http://git.io/iEPt8g for more information. remote: error: File final_movie.mov is…
-
Python / Django commands (unix)
Run these commands on the terminal. Create a virtual environment first with the below-given command. note:- the dot at the end means the current directory. virtualenv -p python3 . Now activate the environment. source bin/activate To deactivate – source bin/dactivate Use these commands to check what all stuff has been installed in your virtual environment.…
-
Django Error: That port is already in use.
When trying to start/run Django server on your MAC machine getting this error – Error: That port is already in use. Solution? find out which service or application is using the default port 8000? Spotlight on Network Utility to List Ports Press Command+Spacebar. Type the name of utilities that are buried, such as Network Utility. Click the…
-
Django makemigrations Error
TypeError: __init__() got an unexpected keyword argument ‘max_lenght’ After running python3 manage.py makemigrations command you see the above error? Solution – Read the error carefully, the error occurred because of a spelling mistake in ‘max_length’ I typed it as ‘max_lenght‘ instead of ‘max_legth‘.



