Using the form field values in templates

2010-01-17 Thread adrian_m
Hello people, How can I access the value of a form field in the template ? I'm having two different use cases : - display a field value as simple text (the field is not meant to be edited by the user, therefore i don't want to use a input field) - use the field value for generating a link (

Best practice for implementing alternate templates (themes)

2009-12-22 Thread adrian_m
Hello all, I'm developing a web application that is intended only for mobile use. I want to implement some kind of 'themes' : have a list of templates/stylesheets and make it possible that each user chooses one of them for visualisation. The number of users is small and all of them will use

Re: Does Django support sockets of type SOCK_STREAM for full-duplex communication with a client?

2009-12-22 Thread adrian_m
On Dec 22, 2:49 am, Chris wrote: > Hello, > > I have a client that needs to constantly send data to Django-based > backend. The client code follows the pattern: > > ... > s = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) > s.connect( ( '10.20.30.40', 8080 ) ) > while