Re: How can I test the correctness of my models against the schema of a database?

2010-05-30 Thread knicholes
python manage.py sqlall On May 30, 3:53 pm, David Horat wrote: > Dear group, > > How can I test the correctness of my models against the schema of a > database? > > To solve this question, I have tried unsuccessfully several options: > - Using ./manage.py test triggers the creation and destructi

Re: how to show blank spaces at the start of string in django templates

2010-05-30 Thread knicholes
On May 29, 7:47 am, Ogi Vranesic wrote: > Hi > > I formated with python numbers like e.g.: > > "   3457.50" > " 11450.25" > > but my problem is to show them correctly one below the other > in a column by django templates > because the blank spaces are ignored. > I tried with the filter escape, how

Re: Customizing a manytomany admin box

2009-07-23 Thread knicholes
wrote: > On Jul 22, 11:17 pm, knicholes wrote: > > > Hey, > > > I used the admin to display a manytomany field (that had over 60,000 > > entries) and used raw_id_field = ('hugeDatabaseField').  This took > > care of the problem, but I wanted to be abl

Customizing a manytomany admin box

2009-07-22 Thread knicholes
Hey, I used the admin to display a manytomany field (that had over 60,000 entries) and used raw_id_field = ('hugeDatabaseField'). This took care of the problem, but I wanted to be able to sort my manytomany field, so I added an intermediary class to handle the sort order. Once I added the whate