I am running Django 1.4 on Windows 7 in Pycharm, and I installed WAMP because I need to have my data in a MySQL table.
This is the value of setting.py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'aidata', 'USER': 'root' } }
From installed_apps I have uncommented:
'django.contrib.sessions'
Running manage.py syncdb does not create any tables (even models) in my mysqldb.
I get an error when trying to access /admin/
DatabaseError at /admin/ (1146, "Table 'aidata.django_session' doesn't exist")
gabberr
source share