October 2017
Beginner
609 pages
20h 51m
English
© Daniel Rubio 2017
Daniel Rubio, Beginning Django, https://doi.org/10.1007/978-1-4842-2787-9_9
Daniel Rubio1
(1)F. Bahia, Ensenada, Baja California, Mexico
In the previous two chapters you learned how Django models are used to move data between a relational database and a Django project. Although this is the main purpose of Django models, there’s another important set of functionalities fulfilled by Django models that isn’t tied directly to a database.
In this chapter you’ll learn how to create Django forms parting from Django models, a process that further extends Django’s DRY (Don’t Repeat Yourself) principle. You’ll learn how a Django model can produce a Django form, including its fields, validations, and ...
Read now
Unlock full access