[Answer]-Localhost for django not loading after creating table in sqlite

1👍

It looks like Django can’t set-up the DB.

Try to replace:

'NAME': 'C:\\Eclipse\\workspace\\mysite\\src\\sqlite.db', 

By:

'NAME': 'sqlite.db', 

In your settings.py.

It could be a path problem.

You should also check the directory permissions to be sure that Django can write the DB to it. I have no experience with Windows regarding this point.

0👍

If you use a WAMP server, why don’t you use mysql instate of sqlite?

👤toni

Leave a comment