BertrandBordage / django-super-inlines

Adds useful features to inlines, such as the ability to nest them.
BSD 3-Clause "New" or "Revised" License
75 stars 8 forks source link

Two datetime widjets in admin (Django 1.8) #8

Open vivazzi opened 9 years ago

vivazzi commented 9 years ago

In django 1.8 datetime widjet is rendered as one field, two labels "today" and two icons "calendar" 1

AFioca commented 8 years ago

Yeah I'm getting this too...

AFioca commented 8 years ago

As far as I can tell (I really didn't want to spend too much time on this) something somewhere (possible in a separate django package? I dunno) is calling DateTimeShortcuts.init() after the reinitDateTimeShortCuts() function is called in inlines.js. I don't necessarily think this is an issue with this package.

pinerojuancruz commented 7 years ago

With Django 1.10 and a very abusive approach* not only datewidgets calendars, but also add inlines and delete inline anchors get replicated. (*4 nesting inlines levels ... Yes I know that any UI designer will have a lot of badwords to me, but it's a System which will hava at most 5 admin users, and all these levels are strictly depending on each other, expecting 1 or 2 modifications in these registers monthly with hundreds of reports being extracted in the same period)

screenshot at 2017-01-03 18 27 37