On May 2, 10:18 am, jmDesktop <[EMAIL PROTECTED]> wrote:
> Hi, I am using isapi_wsgi with django, or trying to:
>
> http://code.google.com/p/isapi-wsgi/wiki/IntegrationWithDjango
>
> I have my script exactly like the example. I created the same
> directories on my pc. I believe django is "trying" to work, but it
> cannot resolve the URLs. I have done syncdb and can run the admin
> pages from the developmen server. There is something about the url
> getting passed via IIS that django does not like:
>
> Page not found (404)
> Request Method: GET
> Request URL:http://localhost/
>
> Using the URLconf defined in mysite.urls, Django tried these URL
> patterns, in this order:
>
> ^admin/
> The current URL, , didn't match any of these.
>
> Is there any way to capture or print on the screen what I am sending
> to django that it cannot resolve so I can change my urls.py? I have
> tried
>
> (r'^admin/', include('django.contrib.admin.urls')),
>
> to (r'^mysite/admin/', include('django.contrib.admin.urls')),
>
> and a few other variations, but it is never found. I know it's
> probably something very simple. I don't know what django is looking
> for.
>
> Thank you for any help.
I got it to find the admin site with
(r' ', include('django.contrib.admin.urls')),
but as soon as I login it goes back to http://localhost and can't find
anything again. why it get the URL above as , , or blank, I don't
know.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---