mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

add an admin tab for managing elections #945

Open mhl opened 8 years ago

mhl commented 8 years ago

When someone is first setting up a new site, the first thing they need to do after it's up and running and they've looked at the settings tab is to add one or more elections. At the moment this can be done in the Django admin interface, but we'd like a better interface for this in the new easier admin (see #944)

Adding

Lots of the properties of elections can be ignored when adding a new election; you only really need to know:

Everything else can have reasonable defaults.

Editing

When editing and existing election, we would want the full list of properties of an election to be shown, but probably separating those above for the rest (which could be shown as "Advanced" options)

This might be a good opportunity to use mysociety-django-sluggable for managing the slug field and redirects if people change the election slug, as @dracos suggested here: https://github.com/mysociety/yournextrepresentative/issues/724#issuecomment-192260481