did you run ./bin/django syncdb? did you edit the cottagematic_com.urls to get the admin working?
ViewDoesNotExist: Could not import cottagematic_com.django.contrib.auth.views. this one looks strange to me because cottagematic_com is your project dir (right?) and django is located in cottagematic_bld/parts/django. did you customize some admin views? p.s. about the versioning we were speaking yestereday, you should commit also the cottagematic_bld/cottagematic_com folder to the versioning repo. John Griessen wrote: > I've tested a buildout of django with mysql database and used > bin/django runserver to get the django internal server going with > no errors on starting. > > When I try browsing to http://127.0.0.1:8000/ I get a the debug version > of a 404 page, which is OK for the copy of the tutorial polls app > that is all this project has for now. The when I try > http://127.0.0.1:8000/polls I get: > > No module named polls.urls > and for: > http://127.0.0.1:8000/admin/ I get: > > ViewDoesNotExist: Could not import > cottagematic_com.django.contrib.auth.views. > Exception Location: > /home/john/WEBprojects/cottagematic_bld/parts/django/django/template/debug.py > in render_node, line 81 > > Here is part of my settings file: > > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.middleware.doc.XViewMiddleware', > ) > > ROOT_URLCONF = 'cottagematic_com.urls' > > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.admin', > ) > > TEMPLATE_LOADERS = ( > 'django.template.loaders.filesystem.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > ) > > TEMPLATE_DIRS = ( > os.path.join(os.path.dirname(__file__), "templates"), > "/home/john/djangotemplates" > > ) > > > My pythonpath has /home/john/WEBprojects/cottagematic_bld/parts/django > but no path to templates or the django app cottagematic_com > > Any ideas why not? > > thanks, John > -- 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.