jeudi 23 avril 2015

How do I link SQLite with django

When I try to add items on table get this error:

OperationalError at /admin/
no such table: django_session
Request Method: GET
Request URL:    http://ift.tt/1jhruO8
Django Version: 1.8
Exception Type: OperationalError
Exception Value:    
no such table: django_session
Exception Location: C:\Users\manu\Desktop\liquer\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 318
Python Executable:  C:\Users\manu\Desktop\liquer\Scripts\python.exe
Python Version: 2.7.9
Python Path:    
['C:\\Users\\manu\\Desktop\\liquer\\myshop',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Users\\manu\\Desktop\\liquer\\DLLs',
 'C:\\Users\\manu\\Desktop\\liquer\\lib',
 'C:\\Users\\manu\\Desktop\\liquer\\lib\\plat-win',
 'C:\\Users\\manu\\Desktop\\liquer\\lib\\lib-tk',
 'C:\\Users\\manu\\Desktop\\liquer\\Scripts',
 'c:\\Python27\\Lib',
 'c:\\Python27\\DLLs',
 'c:\\Python27\\Lib\\lib-tk',
 'C:\\Users\\manu\\Desktop\\liquer',
 'C:\\Users\\manu\\Desktop\\liquer\\lib\\site-packages']
Server time:    Fri, 24 Apr 2015 05:10:21 +0530
Traceback Switch to copy-and-paste view

What else to I need to install/configure for this to work?

Aucun commentaire:

Enregistrer un commentaire