diff ygroup/models.py @ 1206:02181fa5ac9d modernize tip

Update to Django 1.9.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Jan 2025 17:58:16 -0600
parents eeaf387803c6
children
line wrap: on
line diff
--- a/ygroup/models.py	Sat Jan 04 21:34:31 2025 -0600
+++ b/ygroup/models.py	Wed Jan 22 17:58:16 2025 -0600
@@ -26,7 +26,8 @@
 
 
 class Post(models.Model):
-    thread = models.ForeignKey(Thread, null=True, blank=True,
+    thread = models.ForeignKey(
+            Thread, null=True, blank=True,
             on_delete=models.SET_NULL, related_name='posts')
     title = models.CharField(max_length=255)
     creation_date = models.DateTimeField()