Contributing to Django Flag App

There are many ways to contribute to the project. You may improve the documentation, address a bug, add some feature to the code or do something else. All sort of contributions are welcome.


To start development on this project, fork this repository and follow the following instructions.

# clone the forked repository

# create a virtual environment
$ python3 -m venv venv
# activate the virtual environment(unix users)
$ . venv/bin/activate
# activate the virtual environment(window users)
$ venv\Scripts\activate
# install dependencies
(venv) $ pip install -e . Django -r testapp/requirements.txt
# migrate the migrations to the database and create some intial data
(venv) $ python migrate
# start the development server
(venv) $ python runserver


To run tests against a particular python and django version installed inside your virtual environment, you may use:

(venv) $ pytest

To run tests against all supported python and django versions, you may run:

# install dependency
(venv) $ pip install tox
# run tests
(venv) $ tox