Page MenuHomePhabricator

Remove "country" column from Campaigns table and related routes and templates
Closed, ResolvedPublic

Description

We do not need to store a country when creating a new campaign.

The country option needs to be removed from:

routes.py

  • /campaigns/create
  • /campaigns/<id>/update

models.py

  • Campaign database model

forms.py

  • CampaignForm
  • UpdateCampaignForm

templates/campaigns.html

templates/create_campaign.html

templates/update_campaign.html

Note: We still need to keep the "country" drop down option on the campaign page (templates/campaign.html), as this is for the country sub-categories that we will extract automatically in the next phase (for WikiLoves campaigns only)

Event Timeline

Change 507308 had a related patch set uploaded (by Eugene233; owner: Eugene233):
[labs/tools/Isa@master] Remove "country" column from Campaigns table and related routes and templates

https://gerrit.wikimedia.org/r/507308

Change 507308 merged by jenkins-bot:
[labs/tools/Isa@master] Remove "country" column from Campaigns table and related routes and templates

https://gerrit.wikimedia.org/r/507308