Re: Fellow Reports - March 2018

2018-03-17 Thread Tim Graham
Week ending March 17, 2018 Triaged --- https://code.djangoproject.com/ticket/29214 - Invalid SQL when updating after annotating using subquery (accepted) https://code.djangoproject.com/ticket/29200 - RadioSelect does not render its label in MultiWidget (accepted)

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello Sir, I'll give some background. The Django Templating Language was very > specifically designed to NOT allow putting business logic or allow calling > arbitrary functions in the template. Jinja2 loosened up that a bit, but it > still doesn't let you do whatever you want. There's a couple

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello Sir, Well, you should probably look at past examples of such things, like TAL > for the server side, and ... just about every JS framework of today > (svelte, Vue, Knockout, etc :) > > lxml should make it easy to parse, iterate, walk, mutate the DOM tree... > now you need to determine a

Re: GSoC 2018

2018-03-17 Thread Curtis Maloney
On 03/17/2018 08:18 PM, Manasvi Saxena wrote: Hello Sir, On Saturday, March 17, 2018 at 2:23:45 PM UTC+5:30, Curtis Maloney wrote: On 03/17/2018 07:37 PM, Dmitriy Sintsov wrote: > Hi! > > Template languages are my favorite topic in programming. Having written a few

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello Sir, On Saturday, March 17, 2018 at 2:49:41 PM UTC+5:30, Dmitriy Sintsov wrote: > > Hi! > I think you should read the links about Knockout.js templates, Vue.js > templates and about XSLT templates and their support via lxml library. > Read about custom tags in XSLT and maybe in JSX. > Also

Re: GSoC 2018

2018-03-17 Thread Dmitriy Sintsov
Hi! I think you should read the links about Knockout.js templates, Vue.js templates and about XSLT templates and their support via lxml library. Read about custom tags in XSLT and maybe in JSX. Also read more about lxml library and how to use it. Hope that will help you to improve your proposal.

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello Sir, On Saturday, March 17, 2018 at 2:23:45 PM UTC+5:30, Curtis Maloney wrote: > > On 03/17/2018 07:37 PM, Dmitriy Sintsov wrote: > > Hi! > > > > Template languages are my favorite topic in programming. > > Having written a few template engines myself... I guess it's high on my > list

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello sir, On Saturday, March 17, 2018 at 2:07:03 PM UTC+5:30, Dmitriy Sintsov wrote: > > Hi! > > Template languages are my favorite topic in programming. > > If you implement html library yourself, it is much better to define tags > not as functions but as classes with base Tag class which has

Re: GSoC 2018

2018-03-17 Thread Curtis Maloney
On 03/17/2018 07:37 PM, Dmitriy Sintsov wrote: Hi! Template languages are my favorite topic in programming. Having written a few template engines myself... I guess it's high on my list too :) If you implement html library yourself, it is much better to define tags not as functions but as

Re: GSoC 2018

2018-03-17 Thread Dmitriy Sintsov
Hi! Template languages are my favorite topic in programming. If you implement html library yourself, it is much better to define tags not as functions but as classes with base Tag class which has properties for tag name, attributes and the nested list of tags. Such way you will re-implement

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello Sir, On Saturday, March 17, 2018 at 1:16:15 PM UTC+5:30, Jani Tiainen wrote: > > Hi. > > Yes I read your initial proposal and in my experience putting any frontend > stuff to python code is disaster. Hard to maintain hard to understand when > pages do get more complex. > > In my

Re: GSoC 2018

2018-03-17 Thread Jani Tiainen
Hi. Yes I read your initial proposal and in my experience putting any frontend stuff to python code is disaster. Hard to maintain hard to understand when pages do get more complex. In my understanding it is also general consencus and for that reason Django itself moved form widget rendering from

Re: GSoC 2018

2018-03-17 Thread Manasvi Saxena
Hello, On Saturday, March 17, 2018 at 12:42:50 PM UTC+5:30, Jani Tiainen wrote: > > Hi. > > As pointed out I believe this is not getting accepted as GSoC project for > Django. > > But if you really believe that your approach is beneficial to larger > audience and you feel that it is right thing

Re: GSoC 2018

2018-03-17 Thread Jani Tiainen
Hi. As pointed out I believe this is not getting accepted as GSoC project for Django. But if you really believe that your approach is beneficial to larger audience and you feel that it is right thing to do just do it. It is only way to prove that you're right. Of course you could be wrong as