0

This is not a bug-based problem. Basically, an advice-seeking one.

I am a newbie and a great fan of Django's function-based view. It allows me to customize as I need. Like I can customize the HTML form as I want. If I wish, I can also put any icons or images or any things inside my <form> </form> tag.

On the other hand, the class-based view also provides lots of attractive features in CRUD operation with the jinja form template and Django's model form.

So to take advantage of those features I want to use Django's model form. But as I need to customize my <form> </form> also, I need to create an HTML form also, instead of the jinja model form (bootstrap widgets based modification is not enough for it.).

So how can I send data to Django's model form from my customized HTML <form>.

Kindly suggest me an overall idea in which way I should approach to solve it? You can also provide me any blog or article or tutorial types of stuff.

Thanks for reading the full post.

Kanchon Gharami
  • 665
  • 4
  • 19
  • 1
    Does this answer your question? [CSS styling in Django forms](https://stackoverflow.com/questions/5827590/css-styling-in-django-forms) and in the end you can always decide to render the inputs yourself with HTML (You just need to set the correct `name` attributes) – Abdul Aziz Barkat Jun 20 '21 at 09:26

0 Answers0