Re: How many Django web pages does it take . . .

2012-01-08 Thread Lachlan Musicman
On Sat, Jan 7, 2012 at 16:10, Alec Taylor wrote: > What you are talking about is a form. > > Form: https://docs.djangoproject.com/en/dev/topics/forms/ > Autocomplete: https://code.djangoproject.com/wiki/AutoCompleteSolutions > Unique fields:

Re: localization in python code (views, models etc)

2011-07-11 Thread Lachlan Musicman
On Mon, Jul 11, 2011 at 21:02, stan wrote: >> >> > class Book(models.Model): >> >    title = models.CharField(max_length=120) >> >    date_published = models.DateField() >> >> Big tip - if you *actually* need a date_published field, use a string :) > > Sorry, but I

Re: localization in python code (views, models etc)

2011-07-11 Thread Lachlan Musicman
On Mon, Jul 11, 2011 at 18:58, stan wrote: > Hi, > > Maybe I missed something, but I didn't found any explanation in the > doc about how to localize a date or a number in the python code side. > Maybe I am totally wrong about wanting to do that but I can't see a >

Re: Hello Django developers

2011-02-06 Thread Lachlan Musicman
On Mon, Feb 7, 2011 at 11:40, Russell Keith-Magee wrote: > On Mon, Feb 7, 2011 at 6:24 AM, Juan Antonio Infantes > wrote: >> Hi, >> >> My name is Juan Antonio (aka ersame) from Spain and I am a computer science >> student . I have been enrolled in some

Localisation

2011-01-20 Thread Lachlan Musicman
Hola, on the users list, David Walker bought up a discussion on Localisation that I was able to help him with. His follow up was detailed (settings precedence and en_GB date formats) and well beyond my ability to answer correctly. The thread is here:

Re: Issue 14878 And Changeset 15133

2011-01-06 Thread Lachlan Musicman
2011/1/7 Diego Andrés Sanabria Martín : > A few weeks ago i report this issue, 14878[1], and Rusell fix it, but > i think still there is a possible bug, if the verbose name of a model > includes a translation string. Is this related to

Re: Ticket #5373

2010-07-18 Thread Lachlan Musicman
On Fri, Jul 9, 2010 at 00:00, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Thu, Jul 8, 2010 at 3:55 PM, Lachlan Musicman <data...@gmail.com> wrote: >> Hola, >> >> I'm new to this dev thing, but I've done some work on ticket #5373 Another

Re: Ticket #5373

2010-07-11 Thread Lachlan Musicman
On Sun, Jul 11, 2010 at 17:31, Russell Keith-Magee wrote: >> wrote: >> I'm not quite sure I understand. Does that mean we can have >> conflicting verbose_names? My mental unrolling of your advice brings >> me to: > > The two verbose names are

Re: Ticket #5373

2010-07-10 Thread Lachlan Musicman
On Fri, Jul 9, 2010 at 00:00, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Thu, Jul 8, 2010 at 3:55 PM, Lachlan Musicman <data...@gmail.com> wrote: >> Hola, >> >> I'm new to this dev thing, but I've done some work on ticket #5373 > > Thanks

Ticket #5373

2010-07-08 Thread Lachlan Musicman
Hola, I'm new to this dev thing, but I've done some work on ticket #5373 http://code.djangoproject.com/ticket/5373 Field label for a ForeignKey not translated There are two different patches fixing the same problem - I've no idea which is considered better. I don't like the late import on the