Skip to content

Commit

Permalink
Merge pull request #46 from HE-Arc/35-change-new_community-and-send-o…
Browse files Browse the repository at this point in the history
…nly-success-or-something-like-that

35 change new community and send only success or something like that
  • Loading branch information
maelys-buhler authored Mar 29, 2024
2 parents ab63d74 + 3474359 commit a564329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
.idea
db.sqlite3
__pycache__

*.env
# Capistrano
/config/
Capfile
Gemfile
Gemfile.lock
capistrano.log
<<<<<<< HEAD

# api
/api/.env
4 changes: 3 additions & 1 deletion api/masteriqapp/migrations/0005_category_image_path.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by Django 5.0.2 on 2024-03-08 08:42
from os import path

from django.conf import settings
from django.db import migrations, models


Expand All @@ -13,6 +15,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='category',
name='image_path',
field=models.CharField(default='data\\images\\default.jpeg', max_length=255),
field=models.CharField(default=path.join(settings.IMAGES_FOLDER, 'default.jpeg'), max_length=255),
),
]

0 comments on commit a564329

Please sign in to comment.