django-planet
April 16, 2020

Consistent Onboarding - Building SaaS #52

in blog Matt Layman
original entry Consistent Onboarding - Building SaaS #52

In this episode, we glued together some of the onboarding steps. I added data validation so that future steps depend on data existing from previous steps. Then we added page messaging to direct users to a proper page. We reviewed the way that the form validates certain data from the form submission so that data is kept safe between users. I showed how I switched from the model and fields attributes of CreateView to a form_class containing the form that does the necessary validation.