diff --git a/app/campaigns/forms.py b/app/campaigns/forms.py new file mode 100644 index 0000000..e69de29 diff --git a/app/campaigns/models.py b/app/campaigns/models.py index ffc0251..228bd1f 100644 --- a/app/campaigns/models.py +++ b/app/campaigns/models.py @@ -11,6 +11,4 @@ class Campaign(db.Model): __tablename__ = 'campaign' id = Column('id', INTEGER(), primary_key=True) title = Column('title', TEXT(), nullable=False) - email = Column('email', TEXT(), nullable=False, unique=True) - password = Column('password', TEXT(), nullable=False) - user_type = Column('user_type', TEXT(), nullable=False) \ No newline at end of file + #ambassadors \ No newline at end of file diff --git a/app/campaigns/templates/add_campaign.html b/app/campaigns/templates/add_campaign.html index e69de29..d100737 100644 --- a/app/campaigns/templates/add_campaign.html +++ b/app/campaigns/templates/add_campaign.html @@ -0,0 +1,2 @@ +{% extends 'base.html' %} +{% block title %}Add campaign{% endblock title %} \ No newline at end of file