Home > Articles > Open Source > Python

  • Print
  • + Share This
This chapter is from the book

Exercises

Try your hand at creating and activating a simple application. Create an application called Comments. Add a class to the model called Note, with two CharField attributes called Title and Text. Then activate the model by adding it to the INSTALLED_APPS setting in the settings.py file. Synchronize the model to the database. Test your application by adding an object to the database using the Django shell.

  • + Share This
  • 🔖 Save To Your Account