Compare commits
2 Commits
628925a013
...
a97004ddc7
Author | SHA1 | Date |
---|---|---|
Ales (Shagi) Zabala Alava | a97004ddc7 | |
Ales (Shagi) Zabala Alava | fec93eed3a |
|
@ -1,6 +1,11 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.8.5
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Limit split_datetime_field time widget to minutes
|
||||||
|
|
||||||
0.8.4
|
0.8.4
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -70,10 +70,10 @@ def split_datetime_field(form, field_name):
|
||||||
localize=old_field.localize,
|
localize=old_field.localize,
|
||||||
disabled=old_field.disabled,
|
disabled=old_field.disabled,
|
||||||
input_date_formats=("%Y-%m-%d",),
|
input_date_formats=("%Y-%m-%d",),
|
||||||
input_time_formats=("%H:%M", "%H:%M:%S"),
|
input_time_formats=("%H:%M", "%H:%M"),
|
||||||
widget=forms.SplitDateTimeWidget(
|
widget=forms.SplitDateTimeWidget(
|
||||||
date_format='%Y-%m-%d',
|
date_format='%Y-%m-%d',
|
||||||
time_format='%H:%M:%S',
|
time_format='%H:%M',
|
||||||
time_attrs={'placeholder': '00:00'},
|
time_attrs={'placeholder': '00:00'},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = django-gas
|
name = django-gas
|
||||||
version = 0.8.4
|
version = 0.8.5
|
||||||
description = An alternative to django admin
|
description = An alternative to django admin
|
||||||
long_description = file: readme.md, changelog.md, collaborators.md
|
long_description = file: readme.md, changelog.md, collaborators.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
Loading…
Reference in New Issue