Thanks for the response Malcom...
> Does the same URL work if you aren't using Selenium? I'm trying to trim
> down the problem to something smaller.
When I type http://127.0.0.1:8000/idms/ into the address bar I do not
get a Django error and the proper page is rendered.
> I *suspect* there is a problem in your URL configuration and you have
> made a typo there. But that would mean that the URL would not work even
> if you accessed it directly in the browser, without being under
> Selenium's control, too.
Here is my URL config...
#--------------------------------------------------
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^doc/', include('idms.doc.urls')),
(r'^ipl/', include('idms.ipl.urls')),
(r'^ssi/', include('idms.ssi.urls')),
(r'^idms/',"idms.general.views.idms" ),
(r'^admin/', include('django.contrib.admin.urls')),
(r'^media/(.*)$', 'django.views.static.serve', {'document_root':
'C:\\idms_project\\idms\\media\\'}),
# authentication
(r'^logout/$', 'django.contrib.auth.views.logout'),
(r'^$', 'django.contrib.auth.views.login'),
(r'^login/$', 'django.contrib.auth.views.login'),
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
)
#--------------------------------------------------
I dug a little deeper into the Selenium RC forum and found out that
the *proper* way to access my local server should be done using the
following commands (which I had already tried among my many attempts)
cmd=getNewBrowserSession&1=*iexplore&2=http://127.0.0.1:8000
...
Got result: OK,1173444498765
cmd=open&1=/idms/&sessionId=1173444498765
I still get the Django error.
In my Django admin my site's domain name is set to 127.0.0.1:8000.
I tried the tutorial, which accesses Google's search page and I had no
problems.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---