Re: Add an optional parameter to values() that returns a nested dictionary for foreign keys

2016-08-19 Thread Constantine Covtushenko
Agree with Loïc on 100%. And also it opens more options in the future. Regards, On Fri, Aug 19, 2016 at 9:58 PM, Loïc Bistuer wrote: > I prefer enforcing .values(alias=F(’something’)), to me > .values(alias=‘something’) reads as the equivalent of .values(alias=Value(‘ > something’)). > > -- > L

Re: Challenge teaching Django to beginners: urls.py

2016-09-12 Thread Constantine Covtushenko
Hi Emil, It is a very interesting idea. +1 from me On Mon, Sep 12, 2016 at 11:32 PM, Emil Stenström wrote: > Hi Djangonauts, > > I'm just back from my second year of teaching Django to absolute > beginners. The course is a combination of HTML, CSS, Python, and Django, > and after five days of

Re: does anyone use models with underscores in the name?

2016-10-03 Thread Constantine Covtushenko
I am using such names in one of my project. I found it very helpful for audit like fields: _cr_date and _cr_user Regards, Constantine C. > On Oct 3, 2016, at 19:30, Tim Graham wrote: > > Ticket #27295 notes that the ORM doesn't work well with models that start > with an underscore (e.g. _Users