Generic Backend Vision

2020-03-17 Thread 'Thomas Güttler' via Django REST framework
I wrote down some thoughts. What do you think abou this? # Generic Backend Vision: No more coding, just config Sooner or later the generic backend vision will become reality. No more custom coding in the backend. No more if-ing and loop-ing. No more [imperative programming](https://en.wikiped

Re: Why was auth re-invented? What was missing in django?

2018-01-22 Thread Thomas Güttler
Am Freitag, 19. Januar 2018 15:39:28 UTC+1 schrieb Xavier Ordoquy: > > > Le vendredi 19 janvier 2018 09:44:52 UTC+1, Thomas Güttler a écrit : >> >> Why was auth re-invented in Django-Rest-Framework? >> > What was missing in django? >> > > I don't

Why was auth re-invented? What was missing in django?

2018-01-19 Thread Thomas Güttler
Why was auth re-invented in Django-Rest-Framework? What was missing in django? My problem: We have some APIs which use DRF and some do not use DRF. Everything works. But the design is ugly since we use different solutions for the same goal. This makes our software more complicated and develope

Re: Auth from Django, not REST Framwork

2018-01-12 Thread Thomas Güttler
I see that no1 is the most pragmatic solution today. In the long wrong run I think the framework stuff should be in the framework. For me the framework is Django. But that's just me thinking loud. Time will tell :-) Thank you very much Tom for your answer. Regards, Thomas Am Freitag, 12.

Auth from Django, not REST Framwork

2018-01-09 Thread Thomas Güttler
rs to integrate authentication_classes Solution Variant4: Extract authentication_classes from DRF into a small re-usable app and use this. What do you think? Regards, Thomas Güttler BTW: This is only about Auth, not about permission checking. -- You received this message because yo

Re: Windows File Upload Client

2017-10-09 Thread Thomas Güttler
;done directory". Feedback is welcome. Regards, Thomas Güttler Am Mittwoch, 13. September 2017 16:07:53 UTC+2 schrieb Thomas Güttler: > > I want to switch from ftp/scp uploads to our servers to a modern approach. > > I want to write a http client which uploads files t

Windows File Upload Client

2017-09-13 Thread Thomas Güttler
provide a hint how to implement above client the drf-way? I know that any http-client library could be used. But I am unsure since there are too many ways to solve this. Regards, Thomas Güttler -- You received this message because you are subscribed to the Google Groups "Django REST fram

Re: From old-school Post/Redirect/Get to modern web

2017-08-31 Thread Thomas Güttler
will also enjoy the browsable HTML interface of DRF that comes for > free: > > http://www.django-rest-framework.org/api-guide/renderers/#browsableapirenderer > > good luck, > Ian > > On Wednesday, August 30, 2017 at 8:28:48 AM UTC-4, Thomas Güttler wrote: >> >&g

Re: From old-school Post/Redirect/Get to modern web

2017-08-30 Thread Thomas Güttler
web client), then I will miss the great django forms library. Is there an equivalent which works well with django-rest-framework? Regards, Thomas Güttler > On Tuesday, August 29, 2017 at 4:15:30 AM UTC-4, Thomas Güttler wrote: >> >> I use Post/Redirect/Get <https://en.wikip

From old-school Post/Redirect/Get to modern web

2017-08-29 Thread Thomas Güttler
I use Post/Redirect/Get since several years. I use simple HTML forms (via ModelForm) with a plain old submit-button. Above pattern works. But I think the web of the future works different. Up to now my web application sends html to the web clie