Django: minimal skeleton

Relates to #47 (closed).

This MR is the first to introduce new support for django framework. It is a base skeleton to build on.

The following point are implemented:

  • Old pylons code has been moved to old/ directory. The rational on that is that it allow to start the django integration from a clean project, while keeping the old code for when it needs to be converted to the new framework.
  • The django minimal skeleton has been generated with the version 2.2.5 using python3. The rational for using python3 from the start is that migrating to django gives us an opportunity to looks through (and test) the entire code for debexpo. Separating the python3 migration would mean having to re-test everything to ensure compatibility. Let's take advantage of this and only go through it once.
  • setup.py has been refreshed to a more readable, more complete (metadata speaking) version. Dependencies will be added bits by bits are we add functionalities back.
  • Local tests are now handled by tox. The one command will run tests, coverage and flake8.
  • Gitlab CI has been updated to work for django app
  • Settings are managed using a common file and a link to select the config file related to the current envrionment
  • Docs has been refreshed with the new django framework/python3 in mind
  • Copyright and copyright holder has been split-up into two files: COPYRIGHT and AUTHORS. This allow easy addition to the AUTHORS file.

Next step will be to re-add the index page as the base app.

Merge request reports

Loading