inline formset

2010-01-14 Thread Frédéric Burlet
ay: first_name, last_name, and then all fields from Address object followed by the remaining fields from Person. What is the best way of doing it ? Thanks for your support, Frédéric Burlet. signature.asc Description: This is a digitally signed message part.

Re: Handling Vector/Array Data in Forms

2010-01-10 Thread Frédéric Burlet
gt; data. Indeed, or have a look at QueryDict: http://docs.djangoproject.com/en/1.1/ref/request-response/#querydict-objects Frédéric Burlet. signature.asc Description: This is a digitally signed message part.

Re: {% if ... in ... %} template tags not working

2010-01-09 Thread Frédéric Burlet
Which version of django are you running ? The in operator in the if statement only works in the development version of django not with 1.1 or 1.0 series. (see warning on top of the page) Frédéric Burlet. On Saturday 09 January 2010 21:22:28 kotpierdzibonk wrote: > Hi, > > I copied

Abstract model classes and foreign keys

2010-01-09 Thread Frédéric Burlet
lasses but I'm wondering if there are no other way to do it. Maybe it's more a python programming issue than a django issue. I'm using django 1.1.1. Any hint will be appreciated. Frédéric Burlet. signature.asc Description: This is a digitally signed message part.

Re: django-audiorecorder ?

2010-01-04 Thread Frédéric Burlet
On Saturday 02 January 2010 10:55:11 Waqqas Jabbar wrote: > Hi, > > There are audio players available for djagon, but is there any django > project the provide audio recording capability? > My search has not produce any good results. > > There are some python based libraries liky PyAudio ( > htt

ModelForm using ModelForm

2010-01-01 Thread Frédéric Burlet
Hi, I'm new in the python world and therefore in django. I'm using django 1.1.1. I started to write a small application and I have a question related to ModelForms. I defined two model objects: class Person(models.Model): first_name = ... last_name = ... address = mod