On 13-oct-08, at 13:00, Miguel Angel wrote:
> 2008/10/13 Alvaro Lopez Ortega <[EMAIL PROTECTED]>
>
> Since the application is already contained in the /demo directory by
> the server.. wouldn't the RoR URL handling code be more like (r'^/',
> include('hello.demo.urls'))? :-m
>
>
> I think that the most correct behaviour would be:
>
> Iff the server is mounting the django application on /demo/
> all the urls received inside django will be relative to there, so it
> will
> receive /demo/ as "/", and urls.py should be updated to handle it -
>
> If we wanted django to handle the "/demo/" by itself we would have
> to setup cherokee to pass the requests from "/" directly to django.
>
> What do you think?
Makes pretty good sense to me.
Now, we gotta check whether it's the default/expected behavior. If
not, I'm afraid that we'll have to leave the sense aside and implement
the de-facto standard behavior.
--
Greetings, alo
http://www.alobbs.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee