Hello, I have been following the youtube tutorial Python from Scratch-Creating a Dynamic Website, which is excellent by the way, and I am using the files on PA, not my computer. I managed to get things set up and running like the video until it came to accessing the admin panel. I uncommented the following from the settings.py file:
'django.contrib.admin',
'django.contrib.admindocs',
as well as the following from urls.py:
from django.contrib import admin
admin.autodiscover()
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),
I went to my bash shell, cd, then typed: python manage.py syncdb Things looked fine. I reloaded my webpage through PA and went to mysite.pythonanywhere.com/admin and received a host of errors including: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%s' at line 1")
What am I missing? -Thanks