Skip to main content

Date and time dependend content manipulation

Project description

# django-time-wizard Date and time dependend content manipulation.

## Quick start

  1. Install using pip:

    ` pip install django-time-wizard `

  1. Add to your INSTALLED_APPS:

    ` 'time_wizard', `

  2. Include the time_wizard admin URLs in your project urls.py:

    ` url(^'admin/', include('time_wizard.urls')), `

  3. Run python manage.py migrate to create the time_wizard models.

## Settings

Django-time-wizard uses the defined countries and provinces/states from holidays. Definitions need to be compatible with holidays. You can also define this yourself for your needs:

TIME_WIZARD_COUNTRIES = [‘US’, ‘UK’, ‘DE’, …] TIME_WIZARD_COUNTRY_PROVINCES = {‘US’: [‘AL’, ‘AK’, …], …}

## Requirements

  • django

  • django-polymorphic

  • holidays

## Tests

Setup your test environment with virtualenv and install the requirements with pip install .. Also install tox via pip and simply run tox.

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-time-wizard-0.1.0.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

django_time_wizard-0.1.0-py2-none-any.whl (11.9 kB view hashes)

Uploaded Python 2

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