On 19/09/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Well - yes but most MVC type applications have a dispatcher like > > architecture where the request is caught by a single resource which > > then locates the controller to handle the request.
What you want is an inclusion tag. If your heart is set on this fine, but the normal way of doing this sort of thing in django is inclusion tags (http://www.djangoproject.com/documentation/templates_python/#inclusion-tags), think of an inclusion tag like a sub-view, in that it executes some code and returns a bit of template, you can then use this portlet or sub-view wherever you want. Since using this it is like a gap in my understanding of django was filled and I found myself with a complete toolset. > > Anyways, I think I got most of it to work (using my sparse python > > knowledge :-) ) > > but each time I tried to read from an URL to the web-server my program > > stopped (halted). > > This really puzzled me for some time (since I can't seem to find a way > > to > > get a thread dump thank you very much (yes - Im program mostly in > > java)) but > > then I thought to my self, perhaps this mini webserver is only single > > threaded and what do you know... it is... So - If I ain't going to > > install apache is there any other way I can get an multi-threaded > > webserver, perhaps using twisted ? > > > See this [1] wikipage for a list of various solutions (twisted among > them) that could give you a multi-threaded webserver. > > [1]: http://code.djangoproject.com/wiki/ServerArrangements > > > -- > ---- > Waylan Limberg > [EMAIL PROTECTED] > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---