Commit c45b51dd authored by Bianca Aguilar's avatar Bianca Aguilar

Trying to fix conflicts

parent 2fbda415
# Generated by Django 4.0.3 on 2022-05-19 17:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('announcements', '0003_reaction_reaction_name'),
]
operations = [
migrations.AlterField(
model_name='reaction',
name='announcement',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='reacts', to='announcements.announcement'),
),
]
# Generated by Django 4.0.3 on 2022-05-19 17:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('assignments', '0004_assignment_image'),
]
operations = [
migrations.AlterField(
model_name='assignment',
name='image',
field=models.ImageField(upload_to='assignments/'),
),
]
No preview for this file type
<<<<<<< HEAD
# Generated by Django 4.0.3 on 2022-05-19 16:53
=======
# Generated by Django 4.0.3 on 2022-05-19 16:08 # Generated by Django 4.0.3 on 2022-05-19 16:08
>>>>>>> master
from django.db import migrations, models from django.db import migrations, models
...@@ -17,11 +13,7 @@ class Migration(migrations.Migration): ...@@ -17,11 +13,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='post', model_name='post',
name='image', name='image',
<<<<<<< HEAD
field=models.ImageField(default=1, upload_to='forum/images/'),
=======
field=models.ImageField(default=1, upload_to='images/'), field=models.ImageField(default=1, upload_to='images/'),
>>>>>>> master
preserve_default=False, preserve_default=False,
), ),
] ]
<<<<<<< HEAD # Generated by Django 4.0.3 on 2022-05-19 17:30
# Generated by Django 4.0.3 on 2022-05-19 16:58
=======
# Generated by Django 4.0.3 on 2022-05-19 16:13
>>>>>>> master
from django.db import migrations, models from django.db import migrations, models
...@@ -17,10 +13,6 @@ class Migration(migrations.Migration): ...@@ -17,10 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='post', model_name='post',
name='image', name='image',
<<<<<<< HEAD
field=models.ImageField(upload_to='forum/'), field=models.ImageField(upload_to='forum/'),
=======
field=models.ImageField(upload_to='forum/images/'),
>>>>>>> master
), ),
] ]
...@@ -10,11 +10,7 @@ class Post(models.Model): ...@@ -10,11 +10,7 @@ class Post(models.Model):
'homepage.WidgetUser', 'homepage.WidgetUser',
on_delete=models.CASCADE on_delete=models.CASCADE
) )
<<<<<<< HEAD image = models.ImageField(upload_to="forum/")
image = models.ImageField(upload_to='forum/')
=======
image = models.ImageField(upload_to="forum/images/")
>>>>>>> master
def __str__(self): def __str__(self):
return '{}'.format(self.post_title) return '{}'.format(self.post_title)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment