Hi.
im using python 2.6, django 1.1, eclipse3.4, and pydev 1.6, macbook
pro mac os 10.6.4.
trying to do the tutorial:
http://docs.djangoproject.com/en/dev/intro/tutorial02/
first of all, i DID syncdb. -> no problem.
i check using dbshell, .dump. -> says django_session DOES EXISTS.
Changed urls.py:
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^mysite/', include('mysite.foo.urls')),
# Uncomment the admin/doc line below and add
'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
Added "django.contrib.admin" to INSTALLED_APPS on setting.py.
btw,
django.contrib.auth,
django.contrib.session,
django.contrib.site
are also listed.
When I tried to access
http://localhost:8000/admin/
it says:
DatabaseError: no such table: django_session
Why is that????
after the error i did syncdb, and it says No fixtures found...