from django.db import models


class Book(models.Model):
    title = models.CharField(max_length=50)


class Detials(models.Model):
    authorname = models.CharField(max_length=100)
    book_price = models.CharField(max_length=3)
    genre = models.CharField(max_length=15)
    title = models.ForeignKey(Book, on_delete=models.CASCADE)

d91cda48fa2563b1e4d6b75b47d40b7544e137b7
<mask token>


class Detials(models.Model):
    authorname = models.CharField(max_length=100)
    book_price = models.CharField(max_length=3)
    genre = models.CharField(max_length=15)
    title = models.ForeignKey(Book, on_delete=models.CASCADE)

<mask token>


class Book(models.Model):
    <mask token>


class Detials(models.Model):
    authorname = models.CharField(max_length=100)
    book_price = models.CharField(max_length=3)
    genre = models.CharField(max_length=15)
    title = models.ForeignKey(Book, on_delete=models.CASCADE)

<mask token>


class Book(models.Model):
    title = models.CharField(max_length=50)


class Detials(models.Model):
    authorname = models.CharField(max_length=100)
    book_price = models.CharField(max_length=3)
    genre = models.CharField(max_length=15)
    title = models.ForeignKey(Book, on_delete=models.CASCADE)

from django.db import models


class Book(models.Model):
    title = models.CharField(max_length=50)


class Detials(models.Model):
    authorname = models.CharField(max_length=100)
    book_price = models.CharField(max_length=3)
    genre = models.CharField(max_length=15)
    title = models.ForeignKey(Book, on_delete=models.CASCADE)
