Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread Victor Rocha
You are very welcome! On Sat, Feb 2, 2013 at 1:14 AM, KVR wrote: > Thank you very much Victor Rocha !! > That resolved my issue. > > Regards, > kvr > > > On Saturday, February 2, 2013 11:06:29 AM UTC+5:30, Victor Rocha wrote: > >> One way around this is to call the view on a different path one t

Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread KVR
Thank you very much Victor Rocha !! That resolved my issue. Regards, kvr On Saturday, February 2, 2013 11:06:29 AM UTC+5:30, Victor Rocha wrote: > > One way around this is to call the view on a different path one thats not > password protected such as the admin urls. > In order to do that, you s

Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread Victor Rocha
One way around this is to call the view on a different path one thats not password protected such as the admin urls. In order to do that, you simply add this to your urls: (r'^my_url/jsi18n', 'django.views.i18n.javascript_catalog') and when your loading the javascript files on your templated you do

Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread KVR
Yeah, it's throwing js error. Could you please tell me how to point that, I am just newbie to Django. I've tried adding the following to urls.py (r'^jsi18n/(?P\S+?)/$', 'django.views.i18n.javascript_catalog'), I did not understand what to replace with On Saturday, February 2, 2013 10:38:29 A

Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread Victor Rocha
I remember running into this problem quite sometime ago. What happens is that in order to access the file jsi18n you need to be logged in. What you need to do it's save a copy of the file and point to the file instead. thank you, Victor rocha rochapps.com On Fri, Feb 1, 2013 at 11:52 PM, KVR wro

Re: Problem with FilteredSelectMultiple widget

2013-02-01 Thread KVR
forms.py class SampleWidget(forms.Form): date=forms.CharField(widget=AdminDateWidget,max_length=100) users = forms.ModelMultipleChoiceField(queryset=User.objects.all(),widget=FilteredSelectMultiple(("Users"), False)) mytemple.html {% block content %} window.__admin_media_prefix__ = "/sta

Re: Problem with FilteredSelectMultiple widget

2013-01-31 Thread Victor Rocha
Can you post up your code? On Thursday, January 31, 2013 6:29:08 AM UTC-5, KVR wrote: > > Hi, > I am trying to reuse FilteredSelectMultiple widget from django admin > widgets. > > I've defined my form and media classes, and included form and media > contexts in my template also. > > But when I