Skip to main content

A multi-user application for tracking employee time on projects.

Project description

django-timepiece is a multi-user application for tracking people’s time on projects. Documentation is available on Read The Docs.


Build Status


Build Status


  • A simple CRM with projects and businesses

  • User dashboards with budgeted hours based on project contracts

  • Time sheets with daily, weekly, and monthly summaries

  • Verified, approved, and invoiced time sheet workflows

  • Monthly payroll reporting with overtime, paid leave, and vacation summaries

  • Project invoicing with hourly summaries


django-timepiece is compatible with Django 1.8 (on Python 2.7 and Python 3.5) and Django 1.9 (on Python 2.7 and Python 3.5). PostgreSQL is the only officially supported backend. For a full list of required libraries, see the requirements/base.txt from the project source on GitHub.

We actively support desktop versions of Chrome and Firefox, as well as common mobile platforms. We do not support most versions of Internet Explorer. We welcome pull requests to fix bugs on unsupported browsers.


Documentation is hosted on Read The Docs.

To build the documentation locally:

  1. Download a copy of the django-timepiece source, either through use of git clone or by downloading a zipfile from GitHub.

  2. Make sure that the top-level directory is on your Python path. If you’re using a virtual environment, this can be accomplished via:

    cd /path/to/django-timepiece/ && add2virtualenv .
  3. Install the requirements in requirements/docs.txt from the project source on GitHub.

  4. Run make html from within the docs/ directory. HTML files will be output in the docs/_build/html/ directory.


  1. django-timepiece is available on PyPI, so the easiest way to install it and its dependencies is to use pip:

    $ pip install django-timepiece
  2. Ensure that less is installed on your machine and the version is <=1.4.0:

    # Install node.js and npm:
    $ sudo apt-get install python-software-properties
    $ sudo add-apt-repository ppa:chris-lea/node.js
    $ sudo apt-get update
    $ sudo apt-get install nodejs npm
    # Use npm to install less from package.json:
    $ npm install
  3. If you are starting from the included example project, copy the example local settings file at example_project/settings/ to example_project/settings/

    If you are using an existing project, you will need to make the following changes to your settings:

    • Add timepiece and its dependencies to INSTALLED_APPS:

          # Must come last.
    • Configure your middleware:

    • Add django.core.context_processors.request and django-timepiece context processors to TEMPLATE_CONTEXT_PROCESSORS:

          "django.core.context_processors.request",           # <----
          "timepiece.context_processors.quick_clock_in",      # <----
          "timepiece.context_processors.quick_search",        # <----
          "timepiece.context_processors.extra_settings",      # <----
    • Configure compressor settings:

          ('text/less', 'lessc {infile} {outfile}'),
      COMPRESS_ROOT = '%s/static/' % PROJECT_PATH
      INTERNAL_IPS = ('',)
    • Set USE_TZ to False. django-timepiece does not currently support timezones.

  4. Run syncdb and migrate.

  5. Add URLs for django-timepiece and selectable to, e.g.:

    urlpatterns = [
        (r'^selectable/', include('selectable.urls')),
        (r'', include('timepiece.urls')),
  6. Add the django.contrib.auth URLs to, e.g.:

    urlpatterns = [
        url(r'^accounts/login/$', 'django.contrib.auth.views.login',
        url(r'^accounts/logout/$', 'django.contrib.auth.views.logout_then_login',
  7. Create registration templates. For examples, see the registration templates in example_project/templates/registration. Ensure that your project’s template directory is added to TEMPLATE_DIRS:

        '%s/templates' % PROJECT_PATH,

Development sponsored by Caktus Group.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-timepiece-1.1.0.tar.gz (645.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page