Commit c721b074 authored by Okhin's avatar Okhin
Browse files

Fixing the models for argumentarys

parent 1d0db640
Pipeline #1149 passed with stage
in 45 seconds
......@@ -24,8 +24,8 @@ class Argumentary(models.Model):
"""Argumentary for a campaign"""
id = models.AutoField(primary_key=True)
campaign = models.ForeignKey(Campaign)
title = RichTextField(max_length=255, verbose_name=_('title'), null=True, blank=True)
text = models.TextField(null=True)
title = models.CharField(max_length=255, verbose_name=_('title'), null=True, blank=True)
text = RichTextField(null=True)
def __str__(self):
args = {'title': self.campaign.title}
Supports Markdown
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