Did that, filed it. Ticket #12264 -Todd Blanchard
On Nov 25, 2009, at 8:01 AM, Tim Valenta wrote: > > > On Nov 24, 10:32 pm, Todd Blanchard <tblanch...@mac.com> wrote: >> Yep, I solved this by ripping and copying some code out of admin/sites.py >> and adding a url conf for it. >> >> It works now, but this should be included by default through the widget >> media dependency system. Not very slick. I tried filing a bug and the >> submission was rejected as spam. > > I'd just sign up for the account. It's pretty simple. Filing bugs is > how this thing gets better-- I'd urge you not to just let it drop. > > Glad that that worked out for you. I learned something about it, > myself. It had never struck me that it was a view :) > > Tim > >> >> -Todd Blanchard >> >> On Nov 24, 2009, at 8:42 PM, Karen Tracey wrote: >> >> >> >>> On Tue, Nov 24, 2009 at 8:56 PM, Todd Blanchard <tblanch...@mac.com> wrote: >>> I'm trying to use the date/time entry widgets from admin and I get this >>> javascript error and the controls don't render. >> >>> Where is this supposed to come from? >> >>> In annoyance, I have copied the head section precisely from an admin page >>> that work. Still doesn't work in my page. >> >>> <link rel="stylesheet" type="text/css" href="/media/css/base.css" /> >>> <link rel="stylesheet" type="text/css" href="/media/css/forms.css" /> >>> <!--[if lte IE 7]><link rel="stylesheet" type="text/css" >>> href="/media/css/ie.css" /><![endif]--> >> >>> <script type="text/javascript" src="../../../jsi18n/"></script> >> >>> This is the one gettext would be coming from and I'm guessing the relative >>> path here is causing a problem. (gettext is internationalization support, >>> and jsi18n is javascript internationalization support, I'd guess) jsi18n >>> is an admin view: >> >>> http://code.djangoproject.com/browser/django/tags/releases/1.1.1/djan... >>> http://code.djangoproject.com/browser/django/tags/releases/1.1.1/djan... >> >>> It is not being pulled in via a form media definition but rather looks to >>> be hardcoded into the templates that depend on it, for example: >> >>> http://code.djangoproject.com/browser/django/tags/releases/1.1.1/djan... >> >>> It seems using the admin widgets that use the i18n javascript is a bit more >>> involved than just importing them and using them. Maybe there is some >>> elegant way you're supposed to pull in this javascript, but I don't know it >>> (I don't know much when it comes to javascript). >> >>> Karen >> >>> -- >> >>> You received this message because you are subscribed to the Google Groups >>> "Django users" group. >>> To post to this group, send email to django-us...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> django-users+unsubscr...@googlegroups.com. >>> For more options, visit this group >>> athttp://groups.google.com/group/django-users?hl=en. > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.