Skip to content

fix needs_review feed#419

Merged
symroe merged 1 commit intoDemocracyClub:masterfrom
chris48s:issue412
Jan 31, 2018
Merged

fix needs_review feed#419
symroe merged 1 commit intoDemocracyClub:masterfrom
chris48s:issue412

Conversation

@chris48s
Copy link
Member

  1. I've moved this to a /settings/constants dir. There is probably some further 'refactoring' we can do to separate app constants from stuff like DB credentials, context processors etc.

  2. This is probably out of date. We could look at automatically generating it. We also need to ensure we keep people we have manually added to this list for various reasons (e.g: previous vandalism incidents). It might also be worth looking at Move the LIABLE_TO_VANDALISM setting to the database mysociety/yournextrepresentative#997 where @mhl has done some work on moving this to the DB where it may be easier to maintian than a config file?

Closes #412

@coveralls
Copy link

coveralls commented Jan 30, 2018

Coverage Status

Coverage increased (+0.005%) to 43.984% when pulling 0e52268 on chris48s:issue412 into 4f588b8 on DemocracyClub:master.



# import application constants
from .constants.needs_review import * # noqa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E261 at least two spaces before inline comment

@symroe
Copy link
Member

symroe commented Jan 31, 2018

The smallest of comments – it's not like that will be the only pep8 error in this codebase. Will merge anyway.

@symroe symroe merged commit 4d09a8f into DemocracyClub:master Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants