diff --git a/src/models/item.py b/src/models/item.py index b0a2612..ed67b62 100644 --- a/src/models/item.py +++ b/src/models/item.py @@ -19,4 +19,4 @@ class Item(db.Model): upload_date = db.Column(db.TIMESTAMP, nullable=False, server_default=func.now()) uploader_id = db.Column(db.Integer, db.ForeignKey("user.id", ondelete="CASCADE"), nullable=False) - uploader = db.relationship("User", backref=db.backref("uploads", lazy=True)) \ No newline at end of file + uploader = db.relationship("User", backref=db.backref("uploads", lazy=True)) diff --git a/src/templates/profile.html b/src/templates/profile.html index bde69a9..9843da4 100644 --- a/src/templates/profile.html +++ b/src/templates/profile.html @@ -3,7 +3,7 @@ {% block content %} {% if current_user.is_authenticated %}