Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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 History

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-pikaday-0.4.tar.gz (66.3 kB) Copy SHA256 Checksum SHA256 Source Nov 21, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting