if you want to learn and see what happens use function based view but you need to write a lot compared with class based view it's simple and easy. someimes you can work with both after creating a lot of projects you will know when you will use class or function depends how are they easy. it's better to know both and work with both
On Jun 22 2020, at 8:09 pm, Fredrick Edward <fredricom...@gmail.com> wrote: > Views and models created using functions or classes? > > -- > 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+unsubscr...@googlegroups.com > (https://link.getmailspring.com/link/44e59166-6f30-4143-91ff-8a0ec13e2...@getmailspring.com/0?redirect=mailto%3Adjango-users%2Bunsubscribe%40googlegroups.com&recipient=ZGphbmdvLXVzZXJzQGdvb2dsZWdyb3Vwcy5jb20%3D). > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CA%2B-KUj%2BdNoFuzP039gpJjxkeovzG5xF5f%3D_X7XgFpc%3DFAXO1iA%40mail.gmail.com > > (https://link.getmailspring.com/link/44e59166-6f30-4143-91ff-8a0ec13e2...@getmailspring.com/1?redirect=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdjango-users%2FCA%252B-KUj%252BdNoFuzP039gpJjxkeovzG5xF5f%253D_X7XgFpc%253DFAXO1iA%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&recipient=ZGphbmdvLXVzZXJzQGdvb2dsZWdyb3Vwcy5jb20%3D). -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/44E59166-6F30-4143-91FF-8A0EC13E2320%40getmailspring.com.