Hi,

I'm experimenting with building a web server with embedded python and
I'd like to setup and include Django.   The server works by loading a
main python script into memory at startup and then script registers a
callback routine to handle incoming messages.  The script looks
something like this:

import MyWebServer

# Initialization code

def my_callback(connection_name, request, size):
        MyWebServer.sendReply(connection_name, 'hello world', 11)

MyWebServer.set_callback(my_callback)


First of all, does this seem like a reasonable approach?  Second, what
do I need to do to setup the Django environment using this
architecture?

Thanks in advance,
Jim

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to