Fixed in development: https://github.com/stephenmcd/mezzanine/commit/533d04f07b1f791de09590a845428f9af5be5806
Will be in a new release some time this week On Mon, Sep 12, 2016 at 1:55 PM, shivang patel <[email protected]> wrote: > Hello, > > When i click on *View entries*, from admin panel, I get some kind of > error and i was unable to see those entries ! Help me pleas... > > > Error is.... > > > Environment: > > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/forms/form/12/entries/ > > Django Version: 1.10.1 > Python Version: 2.7.12 > Installed Applications: > (u'mezzanine.boot', > u'django.contrib.auth', > u'django.contrib.contenttypes', > u'django.contrib.redirects', > u'django.contrib.sessions', > u'django.contrib.sites', > u'django.contrib.sitemaps', > u'mezzanine.conf', > u'mezzanine.core', > u'mezzanine.generic', > u'mezzanine.pages', > u'mezzanine.blog', > u'mezzanine.forms', > u'mezzanine.galleries', > u'mezzanine.twitter', > u'contact_form_bootstrap', > u'filebrowser_safe', > u'grappelli_safe', > u'django.contrib.admin', > u'django.contrib.staticfiles', > u'django_comments') > Installed Middleware: > (u'django.contrib.sessions.middleware.SessionMiddleware', > u'django.middleware.common.CommonMiddleware', > u'django.middleware.csrf.CsrfViewMiddleware', > u'django.contrib.auth.middleware.AuthenticationMiddleware', > u'django.contrib.auth.middleware.SessionAuthenticationMiddleware', > u'django.contrib.messages.middleware.MessageMiddleware', > u'django.middleware.clickjacking.XFrameOptionsMiddleware', > u'mezzanine.core.request.CurrentRequestMiddleware', > u'mezzanine.core.middleware.RedirectFallbackMiddleware', > u'mezzanine.core.middleware.TemplateForDeviceMiddleware', > u'mezzanine.core.middleware.TemplateForHostMiddleware', > u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', > u'mezzanine.core.middleware.SitePermissionMiddleware', > u'mezzanine.pages.middleware.PageMiddleware') > > > Template error: > In template > /usr/local/lib/python2.7/dist-packages/mezzanine/forms/templates/admin/forms/entries.html, > error at line 33 > Could not parse the remainder: ',' from 'on,' 23 : <div > id="content-main"> > 24 : <form method="post"> > 25 : {% csrf_token %} > 26 : <table> > 27 : <tr> > 28 : <th>{% trans "Field" %}</th> > 29 : <th>{% trans "Include" %}</th> > 30 : <th class="last" colspan="2">{% trans "Filter by" %}</th> > 31 : </tr> > 32 : {% for include_field, filter_field, filter_option_fields in > entries_form %} > 33 : <tr class=" {% cycle on, off as row %} "> > 34 : <td class="field">{{ include_field.label_tag }}</td> > 35 : <td class="include">{{ include_field }}</td> > 36 : <td class="filter last">{{ filter_field }}</td> > 37 : <td class="options last"> > 38 : <div class="options-div"> > 39 : {% for option_field in filter_option_fields %} > 40 : {{ option_field.label_tag }} {{ option_field }} > 41 : {% endfor %} > 42 : </div> > 43 : </td> > > > Traceback: > > File > "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in > inner > 39. response = get_response(request) > > File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in > _legacy_get_response > 249. response = self._get_response(request) > > File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in > _get_response > 187. response = self.process_exception_by_middleware(e, > request) > > File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in > _get_response > 185. response = wrapped_callback(request, *callback_args, > **callback_kwargs) > > File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in > _wrapped_view > 149. response = view_func(request, *args, **kwargs) > > File > "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in > _wrapped_view_func > 57. response = view_func(request, *args, **kwargs) > > File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" > in inner > 211. return view(request, *args, **kwargs) > > File "/usr/local/lib/python2.7/dist-packages/mezzanine/forms/admin.py" in > entries_view > 137. return render_to_response(template, context, > RequestContext(request)) > > File "/usr/local/lib/python2.7/dist-packages/django/shortcuts.py" in > render_to_response > 21. content = loader.render_to_string(template_name, context, > using=using) > > File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in > render_to_string > 67. template = get_template(template_name, using=using) > > File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in > get_template > 21. return engine.get_template(template_name) > > File > "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py" > in get_template > 39. return Template(self.engine.get_template(template_name), > self) > > File "/usr/local/lib/python2.7/dist-packages/django/template/engine.py" in > get_template > 160. template, origin = self.find_template(template_name) > > File "/usr/local/lib/python2.7/dist-packages/django/template/engine.py" in > find_template > 134. name, template_dirs=dirs, skip=skip, > > File "/usr/local/lib/python2.7/dist-packages/django/template/loaders/base.py" > in get_template > 44. contents, origin, origin.template_name, self.engine, > > File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in > __init__ > 191. self.nodelist = self.compile_nodelist() > > File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in > compile_nodelist > 233. return parser.parse() > > File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in parse > 518. raise self.error(token, e) > > Exception Type: TemplateSyntaxError at /admin/forms/form/12/entries/ > Exception Value: Could not parse the remainder: ',' from 'on,' > > > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
