Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

35 change new community and send only success or something like that #46

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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),
),
]
Loading