Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gestioCOF
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 76
    • Issues 76
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Klub Dev ENSKlub Dev ENS
  • gestioCOF
  • Merge requests
  • !210

Configuration utilisateur K-Fêt

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Aurélien Delobelle requested to merge aureplop/kfet_config into master Apr 03, 2017
  • Overview 4
  • Commits 12
  • Pipelines 0
  • Changes 19

Old configuration(/settings), based on Settings model, system is deleted: SettingsForm, Settings.
New system use django-djconfig module.

K-Fêt configuration

  • kfet.config module provides kfet_config to access configuration concerning kfet app.
  • Views, forms, models, etc now use this object to retrieve conf values.
  • Views no longer add config values to context, instead templates use kfet_config provided by a new context_processor.
  • Enhance list and update views of settings.
  • Fix: settings can directly be used without having to visit a specific page...

Misc

  • Delete some py2/3 imports
  • Delete unused imports in kfet.models and kfet.views
  • Some PEP8 compliance
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: aureplop/kfet_config