Exterminated excess newlines.

This commit is contained in:
Marcus Scholz 2020-07-31 14:53:39 +02:00
parent 383ac64ee1
commit ec757e1799
3 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,4 @@
from django.apps import AppConfig
class LostplacesAppConfig(AppConfig):
name = 'lostplaces_app'

View File

@ -37,7 +37,6 @@ class Place (models.Model):
def __str__(self):
return self.name
def generate_image_upload_path(instance, filename):
"""
Callback for generating path for uploaded images
@ -78,8 +77,6 @@ class PlaceImage (models.Model):
"""
return ' '.join([self.place.name, str(self.pk)])
# These two auto-delete files from filesystem when they are unneeded:
@receiver(models.signals.post_delete, sender=PlaceImage)