Have you run the script manage.py with syncdb option? python manage.py syncdb
On Wed, Aug 4, 2010 at 12:44, merabi <mera...@gmail.com> wrote: > 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... > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx http://mirblu.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.