Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two datetime widjets in admin (Django 1.8) #8

Open
vivazzi opened this issue Jul 20, 2015 · 3 comments
Open

Two datetime widjets in admin (Django 1.8) #8

vivazzi opened this issue Jul 20, 2015 · 3 comments

Comments

@vivazzi
Copy link

vivazzi commented Jul 20, 2015

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

@AFioca
Copy link

AFioca commented Oct 1, 2015

Yeah I'm getting this too...

@AFioca
Copy link

AFioca commented Oct 1, 2015

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants