diff --git a/ai/__pycache__/__init__.cpython-311.pyc b/ai/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..8bcb2fb Binary files /dev/null and b/ai/__pycache__/__init__.cpython-311.pyc differ diff --git a/ai/__pycache__/local_ai_api.cpython-311.pyc b/ai/__pycache__/local_ai_api.cpython-311.pyc new file mode 100644 index 0000000..fa9977d Binary files /dev/null and b/ai/__pycache__/local_ai_api.cpython-311.pyc differ diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc index bff1ac9..62a1bea 100644 Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/forms.cpython-311.pyc b/core/__pycache__/forms.cpython-311.pyc index 1988f9e..d9a1c55 100644 Binary files a/core/__pycache__/forms.cpython-311.pyc and b/core/__pycache__/forms.cpython-311.pyc differ diff --git a/core/__pycache__/mail.cpython-311.pyc b/core/__pycache__/mail.cpython-311.pyc index 8b4651f..ea46649 100644 Binary files a/core/__pycache__/mail.cpython-311.pyc and b/core/__pycache__/mail.cpython-311.pyc differ diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index 06a521c..4f0a33d 100644 Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index f020e6a..9b8cc96 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 465fe3b..5ba51ef 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/migrations/__pycache__/0002_note.cpython-311.pyc b/core/migrations/__pycache__/0002_note.cpython-311.pyc index 8b75bf3..14ad2d3 100644 Binary files a/core/migrations/__pycache__/0002_note.cpython-311.pyc and b/core/migrations/__pycache__/0002_note.cpython-311.pyc differ diff --git a/core/models.py b/core/models.py index 26c79ca..5818a2c 100644 --- a/core/models.py +++ b/core/models.py @@ -17,6 +17,7 @@ class Activity(models.Model): return self.name class Mission(models.Model): + user = models.ForeignKey(User, on_delete=models.CASCADE) title = models.CharField(max_length=255) description = models.TextField() trigger_mood_score = models.IntegerField() diff --git a/core/templates/base.html b/core/templates/base.html index 6fe0115..8550e63 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -17,6 +17,7 @@ {% load static %} + {% block head %}{% endblock %} @@ -44,6 +45,12 @@ + + {% endif %}