-
-
Save mariuz/a6b485a3b8f6de319e52 to your computer and use it in GitHub Desktop.
'module' object has no attribute 'SQLDateTimeCompiler'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: GET | |
Request URL: http://mariuz.android-dev.ro:8000/admin/blog/blogpost/ | |
Django Version: 1.6.2 | |
Python Version: 2.7.6 | |
Installed Applications: | |
('mezzanine.boot', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.redirects', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.sitemaps', | |
'django.contrib.staticfiles', | |
'mezzanine.conf', | |
'mezzanine.core', | |
'mezzanine.generic', | |
'mezzanine.blog', | |
'mezzanine.forms', | |
'mezzanine.pages', | |
'mezzanine.galleries', | |
'mezzanine.twitter', | |
'filebrowser_safe', | |
u'south', | |
'grappelli_safe', | |
'django.contrib.admin', | |
u'django.contrib.comments') | |
Installed Middleware: | |
('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.redirects.middleware.RedirectFallbackMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'mezzanine.core.request.CurrentRequestMiddleware', | |
'mezzanine.core.middleware.TemplateForDeviceMiddleware', | |
'mezzanine.core.middleware.TemplateForHostMiddleware', | |
'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', | |
'mezzanine.pages.middleware.PageMiddleware') | |
Template error: | |
In template /usr/local/lib/python2.7/dist-packages/grappelli_safe/templates/admin/change_list.html, error at line 140 | |
'module' object has no attribute 'SQLDateTimeCompiler' | |
130 : <p>{% blocktrans with cl.result_count as counter %}{{ counter }} found{% endblocktrans %}</p> | |
131 : <a href="?{% if cl.is_popup %}pop=1{% endif %}">{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %}</a> | |
132 : </div> | |
133 : </div> | |
134 : {% endifnotequal %} | |
135 : | |
136 : <!-- Search --> | |
137 : {% block search %}{% search_form cl %}{% endblock %} | |
138 : | |
139 : <!-- Date Hierarchy --> | |
140 : {% block date_hierarchy %} {% date_hierarchy cl %} {% endblock %} | |
141 : | |
142 : {% if cl.has_filters %} | |
143 : <!-- Filter --> | |
144 : <div class="module filter"> | |
145 : <h2>{% trans 'Filter' %}</h2> | |
146 : {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %} | |
147 : </div> | |
148 : {% endif %} | |
149 : | |
150 : </div> | |
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
139. response = response.render() | |
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py" in render | |
105. self.content = self.rendered_content | |
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py" in rendered_content | |
82. content = template.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
140. return self._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render | |
123. return compiled_parent._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render | |
123. return compiled_parent._render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _render | |
134. return self.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render | |
62. result = block.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render | |
62. result = block.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" in render | |
305. return nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render | |
62. result = block.nodelist.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
840. bit = self.render_node(node, context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node | |
78. return node.render(context) | |
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render | |
1196. _dict = func(*resolved_args, **resolved_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/templatetags/admin_list.py" in date_hierarchy | |
364. } for year in years] | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in __iter__ | |
96. self._fetch_all() | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all | |
854. self._result_cache = list(self.iterator()) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator | |
1126. return self.query.get_compiler(self.db).results_iter() | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py" in get_compiler | |
203. return connection.ops.compiler(self.compiler)(self, connection, using) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in compiler | |
932. return getattr(self._cache, compiler_name) | |
Exception Type: AttributeError at /admin/blog/blogpost/ | |
Exception Value: 'module' object has no attribute 'SQLDateTimeCompiler' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment