Re: change values in "select list"

2011-07-06 Thread Malcolm Box
On 6 July 2011 09:48, Geoff Kuenning wrote: > > And in any case, this forum would be greatly improved if the general > snarkiness herein departed for Antarctica and never returned. > > Hear, hear! (For non-native speakers, that means "I agree"). The Django-users list has always been distinguishe

Re: change values in "select list"

2011-07-06 Thread Geoff Kuenning
On Jul 6, 2:03 am, Tom Evans wrote: > On Tue, Jul 5, 2011 at 12:53 PM, Geoff Kuenning wrote: > > > On Jul 4, 11:10 pm, Tom Evans wrote: > > >> All of this is explained in the docs. Read the docs. > > > He did; he said he did in his previous posting.  But although the docs > > are far better th

Re: change values in "select list"

2011-07-05 Thread Tom Evans
On Tue, Jul 5, 2011 at 12:53 PM, Geoff Kuenning wrote: > > > On Jul 4, 11:10 pm, Tom Evans wrote: > >> All of this is explained in the docs. Read the docs. > > He did; he said he did in his previous posting.  But although the docs > are far better than many, I'm not sure I've _ever_ seen document

Re: change values in "select list"

2011-07-05 Thread Andre Terra
If he's going to ask around for help and show code, then English is the language of choice, for the simple reason that more developers speak it. As his questions grow in complexity (which is to be expected) so will the burden of having to figure out the German words. As for the python keywords, sh

Re: change values in "select list"

2011-07-05 Thread Geoff Kuenning
On Jul 5, 2:00 am, Andre Terra wrote: > For what it's worth, it will do you good to name everything in > English, even if it's not your native language. Python's keywords are > in English (if, while, for, class, return, break...) and sticking to > one language makes the code easier to maintain (

Re: change values in "select list"

2011-07-05 Thread Geoff Kuenning
On Jul 4, 11:10 pm, Tom Evans wrote: > All of this is explained in the docs. Read the docs. He did; he said he did in his previous posting. But although the docs are far better than many, I'm not sure I've _ever_ seen documentation that answered every question perfectly. Add that to the fact

Re: change values in "select list"

2011-07-04 Thread Andre Terra
Terra > Gesendet: Montag, 04. Juli 2011 16:00 > An: django-users@googlegroups.com > Betreff: Re: change values in "select list" > > Don't take it personally, but while we're at it, I should tell you > that Classes have CamelCase names and functions are > lo

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
Montag, 04. Juli 2011 16:00 An: django-users@googlegroups.com Betreff: Re: change values in "select list" Don't take it personally, but while we're at it, I should tell you that Classes have CamelCase names and functions are lowercase_with_underscores. Try not to mix both unless you

Re: change values in "select list"

2011-07-04 Thread Andre Terra
on what I'm doing wrong >> >> Sry but this is rly urgent >> >> >> . . . . . . . . . . . . . . . . . . . . . . . . . . >> Patrick Szabo >> XSLT Developer >> LexisNexis >> Marxergasse 25, 1030 Wien >> >> mailto:patrick.sz...@lexisn

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
richt- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Andre Terra Gesendet: Montag, 04. Juli 2011 15:52 An: django-users@googlegroups.com Betreff: Re: change values in "select list" Hi, Patrick. Here are a couple of hints that will hopefully g

Re: change values in "select list"

2011-07-04 Thread Andre Terra
; Fax: +43 (1) 534 52 - 146 > > > -Ursprüngliche Nachricht- > > Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im > Auftrag von Tom Evans > Gesendet: Montag, 04. Juli 2011 13:10 > An: django-users@googlegroups.com > Betreff: Re: change v

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
34521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Tom Evans Gesendet: Montag, 04. Juli 2011 13:10 An: django-users@googlegroups.com Betreff: Re: change values in "select list" On

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Tom Evans Gesendet: Montag, 04. Juli 2011 13:10 An: django-users@googlegroups.com Betreff: Re: change values in "select list" On Mon, Jul 4, 2011 at 11:46 AM, Szabo, Patrick (LNG-VIE) wrote: > I w

Re: change values in "select list"

2011-07-04 Thread Tom Evans
On Mon, Jul 4, 2011 at 11:46 AM, Szabo, Patrick (LNG-VIE) wrote: > I was afraid somethig like that would come. > I did read the doc but i don't really understand it :-( > Could you plz make it a little clearer for me  ?! > You are using a model form. The model form has a model selection in it. Yo

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
ck.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Tom Evans Gesendet: Montag, 04. Juli 2011 12:43 An: django-users@googlegroups.com Betreff: Re: change valu

Re: change values in "select list"

2011-07-04 Thread Tom Evans
On Mon, Jul 4, 2011 at 11:34 AM, Szabo, Patrick (LNG-VIE) wrote: > Okay my Model now looks like this: > > ... > > but that didn't really change anything :-( > That is because you didn't read the documentation I linked you to, and just tried copy/pasting some code into arbitrary places and then co

AW: change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
s Marxergasse 25, 1030 Wien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Tom Evans Gesendet: Montag, 04. Juli 2011 12:19 An: django-u

Re: change values in "select list"

2011-07-04 Thread Tom Evans
On Mon, Jul 4, 2011 at 11:12 AM, Szabo, Patrick (LNG-VIE) wrote: > Hi, > > > > I have a forum that looks like this: > > > > class ReportingForm_Produkt(ModelForm): > >     class Meta: > >     model = Buchung > > > > Where Buchung and Produkt looks like this: > > > > class Buchung(models.Model)

change values in "select list"

2011-07-04 Thread Szabo, Patrick (LNG-VIE)
Hi, I have a forum that looks like this: class ReportingForm_Produkt(ModelForm): class Meta: model = Buchung Where Buchung and Produkt looks like this: class Buchung(models.Model): Mitarbeiter = models.IntegerField(max_length=3) Produkt = models.ForeignKey(P