Wednesday, April 29, 2015

Re: selectfilter2 javascript and django

ok i found it

in the i add  the

 (r'^jsi18n/$', 'django.views.i18n.javascript_catalog'),

and in template

<script type="text/javascript" src="/jsi18n/" > </script>

Τη Τετάρτη, 29 Απριλίου 2015 - 4:12:56 μ.μ. UTC+3, ο χρήστης Dimitris Kougioumtzis έγραψε:
i want to use the selectfilter  widget for a view , the user in my django application is only active not staff because i want to restrict access to django admin pages. But selectfilter widget dosen't  work

the error i get is 

SyntaxError: expected expression, got '<'
/admin/jsi18n/ (line 1)
ReferenceError: interpolate is not defined

how to use selectfilter functionality to other views in django application other tha the admin

thx a lot

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment