Commit 334b87f1 authored by Julia Anishka's avatar Julia Anishka

added author model

parent 532d3cbe
from django.db import models from django.db import models
# Create your models here. class Author(models.Model):
first_name = models.CharField(max_length = 50)
last_name = models.CharField(max_length = 50)
age = models.IntegerField(default = 0)
nationality = models.CharField(max_length = 50)
bio = models.TextField(max_length = 700)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment