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

Issue#24 current year coherency #32

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

SamuelVch98
Copy link
Collaborator

The current year was defined in two different ways and this posed a problem of consistency. I defined the current year statically using the ‘Configuration’ table.

util.py Outdated Show resolved Hide resolved
templates/layout.html Show resolved Hide resolved
config.py Outdated Show resolved Hide resolved
@config_bp.route('/next_year', methods=['POST'])
@login_required
@check_access_level(Role.ADMIN)
def next_year():
Copy link
Member

Choose a reason for hiding this comment

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

@luciledierckx Using this implementation we'll always be going in one way. Is there any case for which we'd like to revert and go to the past ?

course.py Outdated Show resolved Hide resolved
config.py Outdated Show resolved Hide resolved
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.

2 participants