Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Showcase Your Projects: Recap

In this section, you:

  • Created a Django model:
class Project(models.Model):
    title = models.CharField(max_length=100)
    description = models.TextField()
    technology = models.CharField(max_length=20)
    image = models.CharField(max_length=100)
  • Learned about ORMs
  • Learned about relational databases
  • Peeked into a Django migrations file
  • Peeked into a SQLite database file
  • Revisited nested folder structure
  • Added static image files to your project
  • Linked those image files correctly
  • Used the Django shell to create and edit data in your database
  • Created new URL paths
  • Queried the database from your views
  • Passed data on to your template files:
return render(request, "template.html", {"projects": projects})
  • Used Django Templating Syntax for code logic and variables
  • Applied Bootstrap styling
  • Did some serious debugging

Comments & Discussion

Become a Member to join the conversation.