Wednesday, August 12, 2015

Re: Generic forms (ModelForm) provide HTML for a form! Can generic views (DetailView) do same?

Mike,

Thanks. This was just a quick hack ripped off from ModelForm (although not as quick as I'd have liked as reverse engineering never is and had to read through ModelForm and get my head around bits) In any case wouldn't be ready for adding to Django as is, but others could improve it to meet any quality standards for integration if they wanted. Alas I'm rather new to Django and have no idea how to propose such an inclusion and to whom. For me this is working as a quick fix, and let some look at records and from there, design better views ;-). WHat I love about teh generics is they give us this quick easy view from which we can start tweaking and thinking how to make it what we want, by styling and/or templating.

On Wednesday, 12 August 2015 22:36:09 UTC+10, Mike Dewhirst wrote:
On 12/08/2015 8:54 PM, Bernd Wechner wrote:
> OK, I give up, seriously dismayed that Django doesn't have this built in
> already

Well done Bernd! Welcome to open source. Unfortunately, I can't use your
code unless it is part of Django. I have tried implementing my own
improvements in the past but I always encounter difficulties when the
next release of Django comes.

Could you please get the core developers to adopt your code so I can use it?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/b79f1695-0c67-406c-b088-5cdeb100233a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment