Skip to content

Commit

Permalink
Remove faulty example.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlipperPA committed Mar 15, 2019
1 parent b978c44 commit 3b6a03d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Expand Up @@ -30,8 +30,6 @@ Three widgets are provided:
In your Django form, you can use the widgets like this:

```python
import datetime

from django import forms
from tempus_dominus.widgets import DatePicker, TimePicker, DateTimePicker

Expand Down Expand Up @@ -60,11 +58,6 @@ class MyForm(forms.Form):
datetime_field = forms.DateTimeField(
widget=DateTimePicker(
options={
'minDate': (
datetime.date.today() + datetime.timedelta(days=1)
).strftime(
'%Y-%m-%d'
), # Tomorrow
'useCurrent': True,
'collapse': False,
},
Expand Down

0 comments on commit 3b6a03d

Please sign in to comment.