ok i found it 

in the urls.py 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 '<'
>
> <!DOCTYPE html>
>
> /admin/jsi18n/ (line 1)
> 4
> ReferenceError: interpolate is not defined
>
> quickElement('h2', selector_available, interpolate(gettext('Available %s'), 
> [fie...
>
>
>
>
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d7a6ac80-cc94-4c02-80b4-99217866ef01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to