On Sep 16, 10:33 pm, "R. Gorman" <[EMAIL PROTECTED]> wrote: > What is in your urls.py file? That's where your urlpatterns should be > stored. > R.
my url.py is simply **************************************************************************************** from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # 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/(.*)', admin.site.root), ) **************************************************************************************** Our objective is to get the admin modules to work on a production server for testing. Testing for url patterns using the equivalent of >>>>>>> http://www.mysite.com/bookstor/ I get a Page Not found 404 ******************************* Using the URLconf defined in bookstor.urls, Django tried these URL patterns, in this order: ^admin/doc/ ^admin/(.*) The current URL, , didn't match any of these. ******************************** Testing the admin page >>>>>>> http://www.mysite.com/bookstor/admin we get as final errors... **************************************************************************************** ... File "/usr/lib/python2.3/site-packages/django/db/models/sql/query.py", line 206, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.3/site-packages/django/db/models/sql/ query.py", line 1700, in execute_sql cursor.execute(sql, params) File "/usr/lib/python2.3/site-packages/django/db/backends/util.py", line 19, in execute return self.cursor.execute(sql, params) ProgrammingError: relation "django_session" does not exist **************************************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---