Re: Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop

On May 2, 12:25 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
> 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 tohttp://localhostand can't find
> anything again.  why it get the URL above as , , or blank, I don't
> know.- Hide quoted text -
>
> - Show quoted text -

I was able to get to the admin page, finally, with:

http://code.djangoproject.com/ticket/3414

last entry and changed wsgi.py like 78

remove 78   self.path = force_unicode(environ['PATH_INFO'])
add  78 self.path = force_unicode(environ['SCRIPT_NAME'] +
environ['PATH_INFO'])

I can logon, but links are broken in parts of the admin page.  For
example, I cannot get template.  By that I mean it is defaulting to
plain white and text, not the standard look for the admin page.  I'm
sure the urls are broken in admin somewhere.  Another evidence was
that when I clicked logout it took me to /*.admin/logout that does not
exist, but /admin/logout does.  So somewhere it's not right.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop

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 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
-~--~~~~--~~--~--~---



Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop

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.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---