Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "site flags" mechanism and convert 'schedule_published' to it #65

Closed
wants to merge 4 commits into from
Commits on Mar 1, 2019
  1. Add "site flags" mechanism and convert 'schedule_published' to it

    encukou committed Mar 1, 2019
    - Add pyconcz.common.models.SiteFlag, a boolean that can be turned
      on/off at a specific time.
    - Add SiteFlag to the admin
    - Add a context processor to get all active site flags, and
      register it
    - Add migration that creates a 'schedule_published' flag (off by
      default)
    - Modify templates to use this flag, rather than overriding based
      on CURRENT_PHASE
  2. Make SiteFlag.name unique

    encukou committed Mar 1, 2019
You can’t perform that action at this time.