mirror of
https://github.com/django/django.git
synced 2025-10-27 18:27:00 +00:00
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
0fdb692c6c
commit
7a61c68c50
128 changed files with 739 additions and 206 deletions
|
|
@ -4,9 +4,11 @@ from django.db import models
|
|||
class Publisher(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
|
||||
|
||||
class Author(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
|
||||
|
||||
class Book(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
authors = models.ManyToManyField(Author, related_name='books')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue