Re: DEP Pre-posal: Re-Designing Django Forms

2018-02-05 Thread Dmitriy Sintsov
Hi. Client-side implementation of fields visual behavior and their validation should be hooked up via document.ready custom JS scripts via form ID or form class. There is no universal solution for that. When using pure client-side forms from npm, it is possible to map these to Django models

Re: Adding a tutorial for Channels

2018-02-05 Thread Robert Roskam
+1 On Monday, February 5, 2018 at 7:05:11 AM UTC-5, David Foster wrote: > > This weekend I spent several hours getting Channels configured to run a > simple chat server . > This was an experiment I wanted to do before trying to integrate

Re: DEP Pre-posal: Re-Designing Django Forms

2018-02-05 Thread Robert Roskam
Hey Tom, My main goal is to improve the Django Form API interface for writing Python code for what Django has historically done: server-side rendered web pages. So any client-validation hooks I might provide would not be fully implemented integrations rather a more convenient integration. (I'm

Re: Adding a tutorial for Channels

2018-02-05 Thread Tomiwa Ademidun
Thank you, I would also really appreciate it. If you could also include a section on deploying a channels project (e.g. to Heroku ) and how to do background tasks (e.g. similar to celery) I would appreciate that as well. On Monday, February 5, 2018 at 7:05:11 AM UTC-5, David Foster wrote: > >

Re: DEP Pre-posal: Re-Designing Django Forms

2018-02-05 Thread Tom Forbes
> Perhaps we should just be able to swap Forms with WTForms or another python library and bake in ElementUI, There are a plethora of UI frameworks with different tradeoffs, I really don't think Django sound pick one. However a stronger integration with the JS-build tools of the day like Yarn,

Re: Adding a tutorial for Channels

2018-02-05 Thread Andrew Godwin
I would very much welcome a narrative tutorial like the Django docs - I did not have the time to personally write and QA one before the 2.0 release, unfortunately. I'm happy to help out if you want to email me personally to discuss! Andrew On Sun, Feb 4, 2018 at 10:39 PM, David Foster

Re: Jinja2 form rendering for the admin

2018-02-05 Thread Tim Graham
I guess it's fine. I see you already created a ticket: https://code.djangoproject.com/ticket/29115. On Friday, February 2, 2018 at 3:17:45 PM UTC-5, Joey Wilhelm wrote: > > I know that Jinja2 vs DTL rendering can be a contentious issue at times, > so I want to start from the outset saying that

RE: DEP Pre-posal: Re-Designing Django Forms

2018-02-05 Thread Matthew Pava
> It includes ajax file upload which every user expects in the modern web which > seems to be the feature which defines feature-completion of a UI framework, > compared to what HTML offers out of the box. Bandwagon logical fallacy (“every user expects”) In my project, I have no need for file

Re: Adding a tutorial for Channels

2018-02-05 Thread Michael Manfre
Any improvements to documentation are greatly appreciated. Thank you for taking the initiative. Regards, Michael Manfre On Mon, Feb 5, 2018, 7:05 AM David Foster wrote: > This weekend I spent several hours getting Channels configured to run a > simple chat server

Adding a tutorial for Channels

2018-02-05 Thread David Foster
This weekend I spent several hours getting Channels configured to run a simple chat server . This was an experiment I wanted to do before trying to integrate Channels into a much larger project. It would have taken me a lot less time if there

Fellow Report -- February 5, 2018

2018-02-05 Thread Carlton Gibson
Hi all, Last week I reviewed patches on https://code.djangoproject.com/ticket/29076 -- Changed .refresh_from_db() to clear cached relationships. https://code.djangoproject.com/ticket/29036 -- Changed SelectDateWidget's empty value https://code.djangoproject.com/ticket/29082 -- Make the test