On Apr 11, 8:42 pm, adelein <adele...@gmail.com> wrote:
> Hi,
>
> Myhttp://localhost:8000/adminpage is hanging in the django server
> and I get "Error 320 (net::ERR_INVALID_RESPONSE): Unknown error."
> after a while.
>
> I am running on fedora 7.
>
> I am following the django tutorial and I am using the latest svn
> django version.
>
> After I set this in the settings.py and go to thehttp://localhost:8000/admin
> page it just hangs:
>
> 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)),
> )
>
> First, I dont know how to access the web server error log?
>
> Anyone has any idea?
>
> Thanks!
>
> -Adelein

If that's your settings.py, you should go back and read the tutorial
again. That code should go in your urls.py.

I assume by 'the Django server' you mean the built-in development
server. As the name implies, this is only for development, and doesn't
have an 'error log'. All errors are displayed in the console.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to