adamdoty / homebaker

A baked-goods, birthday-treat, tracking app I made for my wife.
3 stars 0 forks source link

Do a simple crud of Treat #2

Closed bbelderbos closed 2 years ago

bbelderbos commented 2 years ago

Use a model form like our starter training: https://github.com/pybites/django-starter/blob/solution/blog/forms.py

Let's not worry about the image yet

bbelderbos commented 2 years ago

I think you have seen most of the CRUD in Django 4 - ch 1 + 2

You can also use our Django starter views: https://github.com/pybites/django-starter/blob/solution/blog/views.py

I prefer function based views over class based views! Hesitant to send you this now (maybe don't watch it yet, focus on the code haha), but for later: https://pybites.mykajabi.com/products/pybites-coaching-calls-2/categories/3469727/posts/2156867625

adamdoty commented 2 years ago

This is mostly done. Currently adding Django-Bootstrap then I will resume testing this to make sure it works.

bbelderbos commented 2 years ago

@adamdoty I did not see any more pull requests? Talk in a bit ...

adamdoty commented 2 years ago

Adjust for cleaner syntax, see Django 4 book