Wikimedia

Tracker: support/makesettings.py should use a library for question-making

Problem

Script support/makesettings.py currently asks for your database settings via a dialog. However, the dialog is self-made, and among other things, doesn't verify inputs are of desired data types. There are nice libraries that can do all the hassle for you, for instance, https://github.com/tmbo/questionary.  

Proposed solution

Migrate support/makesettings.py's dialog for such a dialog.   Student is expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit.  

Materials

 

Task tags

  • python
  • django

Students who completed this task

alcarazzam

Task type

  • code Code
close

2019