How to Fix – Operational Error: cannot open database in Django Sqlite3

This may be a permission problem. the database file must be writable to the user you need to grant permission to db.sqlite3 here, myproject is the folder which contains db.sqlite3 file chmod 664 /path/to/myproject/db.sqlite3sudo chown :www-data /path/to/myproject/db.sqlite3 sudo chown :www-data…

Read More

Simple Hello World page with django 1.9 in Ubuntu / Linux Mint [Beginners] [Part – 2]

In the First part of this tutorial we created an app named helloworld and added it to the setting.py file. Now let’s continue further towads our journey to make a ‘Hello World’ page with django. Urls Let’s define our url…

Read More

Simple Hello World page with django 1.9 in Ubuntu / Linux Mint [Beginners] [Part – 1]

Django is a web framework written in python. It is good for fast web application development. In this tutorial we will learn how to make a simple web page showing “Hello World” using django templates. we will also be applying…

Read More