UNC BACS 350

Web Apps with Python/Django

Logo

Project 6 - Superhero Data Views

Goals

Steps

Create a new Django project

Define Python class

hero/models.py

class Superhero(models.Model):
    name = models.CharField(max_length=100)
    identity = models.CharField(max_length=100)
    description = models.TextField()
    strength = models.CharField(max_length=100)
    weakness = models.CharField(max_length=100)
    image = models.CharField(max_length=100)

Data Migrations

Enable Django Tests

Add Heroes

Add five Superhero records

Create Superhero Pages

Superhero Index

Create Images

Create Superhero Theme

Requirements