# Capture a region using the GUI, and have it automatically saved to your pictures folder when clicking the save button in GUI
flameshot gui -p /home/user/Pictures
<a href="{% url 'django-url-name' %}?action=view&{{ request.GET.urlencode }}">View</a>
How to add the current query string to an URL in a Django template?
How to solve pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol] (-1) (SQLDriverConnect)')
error?
This error due to openssl.
[system_default_sect]
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=1
sudo apt update -y
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl virtualenv redis-server sudo vim vim-nox htop tmux git -y
sudo -iu postgres
psql -U django_user django_project_db < django_db_backup.psql
sudo apt-get install unixodbc-dev
pip install pyodbc
If the system have not ODBC driver, you will get below error.
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 13 for SQL Server' : file not found (0) (SQLDriverConnect)")
NewerOlder