mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E265 comment style
This commit is contained in:
committed by
Tim Graham
parent
eb45a29565
commit
db77915c9f
@@ -6,7 +6,7 @@ from django.db import models
|
||||
from django.utils.encoding import python_2_unicode_compatible
|
||||
|
||||
|
||||
## Basic tests
|
||||
# Basic tests
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Author(models.Model):
|
||||
@@ -88,7 +88,7 @@ class BookReview(models.Model):
|
||||
notes = models.TextField(null=True, blank=True)
|
||||
|
||||
|
||||
## Models for default manager tests
|
||||
# Models for default manager tests
|
||||
|
||||
class Qualification(models.Model):
|
||||
name = models.CharField(max_length=10)
|
||||
@@ -124,7 +124,7 @@ class Department(models.Model):
|
||||
ordering = ['id']
|
||||
|
||||
|
||||
## GenericRelation/GenericForeignKey tests
|
||||
# GenericRelation/GenericForeignKey tests
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class TaggedItem(models.Model):
|
||||
@@ -172,7 +172,7 @@ class Comment(models.Model):
|
||||
ordering = ['id']
|
||||
|
||||
|
||||
## Models for lookup ordering tests
|
||||
# Models for lookup ordering tests
|
||||
|
||||
class House(models.Model):
|
||||
name = models.CharField(max_length=50)
|
||||
@@ -209,7 +209,7 @@ class Person(models.Model):
|
||||
ordering = ['id']
|
||||
|
||||
|
||||
## Models for nullable FK tests
|
||||
# Models for nullable FK tests
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Employee(models.Model):
|
||||
@@ -224,7 +224,7 @@ class Employee(models.Model):
|
||||
ordering = ['id']
|
||||
|
||||
|
||||
## Ticket #19607
|
||||
# Ticket #19607
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class LessonEntry(models.Model):
|
||||
@@ -244,7 +244,7 @@ class WordEntry(models.Model):
|
||||
return "%s (%s)" % (self.name, self.id)
|
||||
|
||||
|
||||
## Ticket #21410: Regression when related_name="+"
|
||||
# Ticket #21410: Regression when related_name="+"
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Author2(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user