Skip to main content
Help us improve Python packaging – donate today!

A simple app that provides easy integration with the Pikaday Datepicker

Project Description

Django Pikaday

A simple app that provides easy integration with the Pikaday Datepicker.

MIT licensed

Compatibility

  • Django 1.4, 1.5, 1.6
  • Python 2.7, 3.x
  • Browsers: Chrome, Firefox 3.5, IE8, Opera 10, Safari 3.2 and later

Installation

pip install django-pikaday

Or install directly from master branch:

pip install git+http://github.com/caioariede/django-pikaday.git#egg=django-pikaday==1.0

Configuration

Add djpikaday to the INSTALLED_APPS setting.

Usage

from django import forms
from djpikaday.widgets import PikadayInput

class YourForm(forms.ModelForm):
    widgets = {
        'my_date_field': PikadayInput(),  # Uses DATE_FORMAT
    }

Using a custom format

from django import forms
from djpikaday.forms import PikadayField

class YourForm(forms.ModelForm):
    # Needs to use the format described in:
    # http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
    widgets = {
        'my_date_field': PikadayInput(format='%Y-%m-%d'),
    }

Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-pikaday-0.4.tar.gz (66.3 kB) Copy SHA256 hash SHA256 Source None Nov 21, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page