Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Conversation

@tm-kn
Copy link
Member

@tm-kn tm-kn commented Jul 26, 2017

https://projects.torchbox.com/projects/rca-django-cms-project/tickets/901

Please be advised that this pull request comments out two migrations that were used for migrating 6 schools to 4 , but are no longer required and were causing issues when running manage.py test. Fixed by changing the faulty migration's dependencies.

@tm-kn tm-kn self-assigned this Jul 26, 2017
@tm-kn tm-kn force-pushed the 901-student-research-profiles-fix branch from c8156da to 94bbe5e Compare July 26, 2017 15:02
@tm-kn tm-kn requested a review from m1kola July 26, 2017 16:13
SCHOOL_PROGRAMME_ERROR = 'Please only select a School if your degree ' \
'is not associated with a specific programme.'

errors = {k: [] for k in ('phd_school', 'mphil_school')}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just errors['phd_school'] = [SCHOOL_PROGRAMME_ERROR] and errors['mphil_school'] = [SCHOOL_PROGRAMME_ERROR]? :)

@tm-kn
Copy link
Member Author

tm-kn commented Aug 10, 2017

Before merging... Needs some work so migrations are run in order - #115 (comment).

@tm-kn tm-kn force-pushed the 901-student-research-profiles-fix branch from 13f2e72 to c07acbb Compare March 15, 2018 14:36
@tm-kn tm-kn merged commit ac30820 into master Mar 15, 2018
@tm-kn tm-kn deleted the 901-student-research-profiles-fix branch March 15, 2018 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants