Le mercredi 29 avril 2015 à 13:34:25 UTC, dim...@gmail.com a écrit :
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 isSyntaxError: expected expression, got '<'/admin/jsi18n/ (line 1)4ReferenceError: 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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8e35d8e9-554b-43b0-90db-c5c7e22319ean%40googlegroups.com.
No comments:
Post a Comment