Yes, it's a bit more verbose, but much easier to follow. Hope it helps. -James On Jan 17, 2015 2:58 PM, "Micky Hulse" <[email protected]> wrote:
> Hi James! Thank you for the reply and for the example code! > > On Sat, Jan 17, 2015 at 2:52 PM, James Schneider > <[email protected]> wrote: > > You can reroll your original example like this: > > Much more pythonic, IMO. > > Ah, that's great! I was actually wondering what the pythonic way of > doing this might be. While it's more lines, I like that it is more > readable/understandable. Much easier to pick up the code later on. > > Much appreciated! > > Cheers, > M > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKzdcNkP-3JrfgQJ70g4Dj6Wd-LAc6Rxcy0MHxJrqbKiRK2pyw%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXbjf-%3DWgYunx1HL3FVjxEEq0p9Wd7AjYwQn3rPrnZRuQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

