user3273280
user3273280

Reputation:

Django "NameError: name 'Database is not defined' while running on virtualenv

I'm running python 3.4 and Django 1.6.5 , as soon as I run my app I get this error

  File "/home/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", line 42, in <module>
      DatabaseError = Database.DatabaseError
  NameError: name 'Database' is not defined

Any idea why this is happening ? I already tried removing and reinstalling django through PIP but It didnt work

Upvotes: 0

Views: 692

Answers (1)

chem1st
chem1st

Reputation: 1634

Python 3.4 is not supported by Django 1.6 version. Docs

Upvotes: 3

Related Questions