How do I display foriegn characters

2008-06-18 Thread Keith Mallory
text displays correctly, after saving all I see is ??? I changed my settings in the browser and I am able to view other pages correctly. I tried the i18n documentation. It is of little help, despite me trying all combinations. All help appreciated Many Thanks Keith Mallory

New Forms --How to get change values inside a form field based on choices made in another field

2007-11-26 Thread Keith Mallory
Hi, I am toying around with newforms. I have a registration form with Country, State, cities. I want a user to get just the states within the country, and cities related to the state. I plan to have have country, state and city with foreignkey. With every state having a foreignkey to a country

Foreign Key chaining in templates

2007-08-21 Thread Keith Mallory
I am trying to build a simple single page quiz model, with multiple questions with three classes for quiz,questions and answers, and fourth (not included) to manage the scores as given below. class Quiz(models.Model): name = models.CharField(maxlength=200) pub_date = models.DateTimeField()

Web Sites keep pointing against each other

2007-04-03 Thread Keith Mallory
I have a Ubuntu Server with 4-5 Django web sites hosted on mod_python. Everything works fine, expect that the web sites keeps on pointing against each other. That Site A points to Site B and B to C and so on. This is how I have set up my httpd.conf NameVirtualHost * ServerName example.com

Couple of dumb questions

2007-01-15 Thread Keith Mallory
Hi, 1-- What is the status of the row level permissions trunk? 2- If it is still useful and is likely to be included, I would like to play around with it. How do I do tha? I have the svn code downloaded on to my PC. How do I switch between my 'nomal' svn edition which is symliked to the /site-pa

How does the forloop really work?

2006-11-14 Thread Keith Mallory
Hi,I am trying to get a list of articles displayed in different parts of a web page. The latest article in specific , the next 2 in another and rest of it somewhere down inside the same page. I am not able to figure out how? My guess is forloop, but how?ThanksKeith --~--~-~--~~---

Generic Views

2006-11-05 Thread Keith Mallory
I wrote a blog using classic views (writing  functions for reach URLpattern). It works perfectly. However when I tried to convert it using the same database using generic views, it does not work.Then  I tried using the updated code from the following link http://fallingbullets.com/blog/2006/aug/06/

Integrating a chat application

2006-10-31 Thread Keith Mallory
Hi,How do I integrate a chat application in Django? Has anyone already integrated a chat application?Is there any Ajax toolkit which can be integrated easily?ThanksKeith --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups