Gestion de prise de rendez-vous
Go to file
Lauréline Guérin ade248abf0
gitea-wip/chrono/pipeline/pr-main This commit looks good Details
api: hide check fields for bookings of meetings agendas (#69169)
2022-11-16 11:06:42 +01:00
chrono api: hide check fields for bookings of meetings agendas (#69169) 2022-11-16 11:06:42 +01:00
debian uwsgi: new configuration (#67586) 2022-10-10 18:16:18 +02:00
tests api: hide check fields for bookings of meetings agendas (#69169) 2022-11-16 11:06:42 +01:00
.coveragerc jenkins: show execution context in coverage reports (#60446) 2022-01-11 15:51:21 +01:00
.git-blame-ignore-revs misc: add djhtml files/notes (#69404) 2022-09-27 17:19:02 +02:00
.gitignore manager: timesheet to PDF (#61070) 2022-03-03 08:20:32 +01:00
.pre-commit-config.yaml ci: update pyupgrade to 3.1.0 (#70693) 2022-10-26 19:22:41 +02:00
COPYING include a copy of the AGPL 2016-02-13 09:17:15 +01:00
Jenkinsfile ci: speed up CI by using pytest-xdist (#67033) 2022-07-05 15:23:56 +02:00 agendas: add .sql migration files in MANIFEST (#56481) 2021-08-30 15:28:43 +02:00
README misc: fix incorrect pre-commit info in readme 2022-09-29 18:29:52 +02:00 jenkins: switch to tox for running tests (#15974) 2017-05-23 13:28:45 +02:00 python3: fix to get module regardless of version 2018-05-13 16:06:01 +02:00 jenkins: get lasso symlinks in jenkins virtual env 2018-02-15 14:37:39 +01:00 misc: run with python3 (#36224) 2019-09-18 14:17:20 +02:00
pylint.rc pylint: ignore unsupported-binary-operation (#68474) 2022-08-27 16:29:25 +02:00 ci: speed up CI using multiple processes with pylint (#67056) 2022-07-07 18:17:33 +02:00
requirements.txt misc: remove jsonfield requirement (#53289) 2021-04-29 10:17:20 +02:00 build: limit to djangorestframework<3.14 (#69477) 2022-09-23 09:33:59 +02:00
tox.ini django3: fix django 3 being installed in django 2 test env in CI (#68260) 2022-08-18 15:41:44 +02:00



Chrono provides a set of management interfaces and web services to register
for activities and stuff.


Dependencies can be installed with pip,

 $ pip install -r requirements.txt

It's then required to get the database configured (./ migrate); by
default it will create a postgresqsl DB.

You can then run the Django test server for a quick try (you should refer to
the Django documentation for production deployments).

 $ ./ runserver


Default settings are loaded from, they can be overloaded by a file set in the same directory, or by a file referenced
in the CHRONO_SETTINGS_FILE environment variable.

Code Style

black is used to format the code, using thoses parameters:

    black --target-version py35 --skip-string-normalization --line-length 110

isort is used to format the imports, using those parameters:

    isort --profile black --line-length 110

pyupgrade is used to automatically upgrade syntax, using those parameters:

    pyupgrade --keep-percent-format --py37-plus

django-upgrade is used to automatically upgrade Django syntax, using those parameters:

    django-upgrade --target-version 2.2

djhtml is used to automatically indent html files, using those parameters:

    djhtml --tabwidth 2

There is .pre-commit-config.yaml to use pre-commit to automatically run black,
isort, pyupgrade, django-upgrade and djhtml before commits. (execute
`pre-commit install` to install the git hook.)


    pip install pytest pytest-django pytest-mock
    DJANGO_SETTINGS_MODULE=welco.settings py.test tests/


This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <>.