MySql
September 18, 2021
Using MySQL Database with Django Project
Initially Django support Sqlit and Postgresql Database, but by installing the MySQL client package we can use MySQL dat…
Initially Django support Sqlit and Postgresql Database, but by installing the MySQL client package we can use MySQL dat…
Solution Install package - pip install python-decouple
Solutions Install package - pip install psycopg2 OR pip install psycopg2-binary
By default Django support only Postgres and SQLite. But you can connect SQL database. You need to install a package fo…
We can do it by some different way. Let see the bellow methods Method 1 : Create a simple function as bellow - let ser…
Simply set URL and execute cURL request. Let see the bellow example. $url = "https://www.example.com"; $curl …
In PHP we can call API using cURL or file_get_content. Using cURL : // Initiate curl $ch = curl_init(); $url = "…