Skip to content

Commit

Permalink
Merge pull request #186 from 2077-Collective/feat/sponsored-articles
Browse files Browse the repository at this point in the history
chore(fix): rm padding from models
  • Loading branch information
losndu authored Oct 28, 2024
2 parents 836b533 + 03a545d commit c97a271
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.0.8 on 2024-10-28 05:02

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('research', '0010_article_sponsor_padding_alter_article_sponsor_color_and_more'),
]

operations = [
migrations.RemoveField(
model_name='article',
name='sponsor_padding',
),
]
1 change: 0 additions & 1 deletion server/apps/research/models/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Article(BaseModel):
is_sponsored = models.BooleanField(default=False)
sponsor_color = models.CharField(max_length=7, default="#FF0420")
sponsor_text_color = models.CharField(max_length=7, default="#000000")
sponsor_padding = models.CharField(max_length=20, default="px-4 py-6")

objects = models.Manager()
post_objects = ArticleObjects()
Expand Down

0 comments on commit c97a271

Please sign in to comment.