Incace one is getting the below error: "File "/home/eria/Desktop/digi/moto-consults/moto_consults/settings.py", line 100, in <module> "default": dj_database_url.parse(os.environ.get("DATABASE_URL")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/eria/Desktop/digi/moto-consults/venv/lib/python3.12/site-packages/dj_database_url/__init__.py", line 145, in parse raise ValueError( ValueError: No support for 'b'''. We support: cockroach, mssql, mssqlms, mysql, mysql-connector, mysql2, mysqlgis, oracle, oraclegis, pgsql, postgis, postgres, postgresql, redshift, spatialite, sqlite, timescale, timescalegis" What you do, just get the link for the external database you copied and change postgresql to postgres. Hope this helps
Hi brother I need a help in my django project I want to deploy render everything goes well except dlib module is not install well I have a dlib folder I want to create a path to download on render how to make a path for render brother can you help me ?
@@vrajpatel9508 i dont remember how i fixed it but i guess it was because of the gunicorn package not installed, add it to your requirements.txt and try
So sorry I have less knowledge in the blockchain domain but I have questions. You said that once you push updates in the blockchain no one change or hacker can change the order of push , so if imagine do to some error you pushed wrong ota firmware update file in blockchain to update, so now once it is push in blockchain we can't change it ,and can result in giving that wrong ota updates , so sorry if you find this silly questions, but I am so curious to know about as I love cybersecurity, correct me if am wrong anywhere
It is a great question Kaustubh. Ya if you push new update to blockchain you cannot change it, so your pro can be your con but generally in traditional systems when you push new updated it still goes to the devices and to revert that you push new updates. so similarly in this you push new updated which will be added to latest block, so that block data will be pulled by the device. so this is how you revert update in this blockchain system.
File "D:\AglIncome\AglExpense\AglExpense\settings.py", line 93, in <module> DATABASES = {'default': dj_database_url.parse(db_url).decode} File "D:\AglIncome\env\lib\site-packages\dj_database_url\__init__.py", line 126, in parse raise ValueError( ValueError: No support for 'b'''. We support: cockroach, mssql, mssqlms, mysql, mysql-connector, mysql2, mysqlgis, oracle, oraclegis, pgsql, postgis, postgres, postgresql, redshift, spatialite, sqlite, timescale, timescalegis this type of error please help me
everything fine but i can't coonnect do admin pages, after login i get Server Error (500). Also after submiting data to my form site i get Server Error (500). But i can see main page and other 2 pages. It's strange that you have DEBUG set to True on deployment.
Check if you are using postgres db. if you are using sqlite then the db file will be in the same server in which your code is running and these servers shutdown after 1 day or x time thus redeploying your code when they turn live and rolling back to latest commit. Which makes all data of sqlite db file rolling back to latest commit. I'm not sure if this also happens with postgres in render, you can also use other free db services and then connect it with your render server with external uri.
@@swapnilshinde2540 Thanks for ur advice and sorry u about my answer.That the product's image storage in folder will be deleted not all the product.Once again thank u
Hi Friend, I have an Angular application with webservice in Render with my application I create rooms and generate a code for each room, as when accessing this room in another browser I receive the message below: Failed to load resource: the server responded with a status of 404 () (Page Not Found) . Do you know what might have happened?
You can connect it using external database URI, you can create one using your host, ip, username and password, this is the standard stackoverflow.com/questions/3582552/what-is-the-format-for-the-postgresql-connection-string-url