Everything thing worked fine on my my machine, but when I hosted on
webspace, I
got the following when tried to login to admin account;
Template error
In template /home/kgupta/django_src/django/contrib/admin/templates/
admin/index.html, error at line 56
Caught an exception while rendering: no such table: django_admin_log
46 </div>
47 {% endblock %}
48
49 {% block sidebar %}
50 <div id="content-related">
51 <div class="module" id="recent-actions-module">
52 <h2>{% trans 'Recent Actions' %}</h2>
53 <h3>{% trans 'My Actions' %}</h3>
54 {% load log %}
55 {% get_admin_log 10 as admin_log for_user user %}
56 {% if not admin_log %}
57 <p>{% trans 'None available' %}</p>
58 {% else %}
59 <ul class="actionlist">
60 {% for entry in admin_log %}
61 <li class="{% if entry.is_addition %}addlink{% endif %}{% if
entry.is_change %}changelink{% endif %}{% if entry.is_deletion
%}deletelink{% endif %}">{% if not entry.is_deletion %}<a
href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr|
escape }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span
class="mini quiet">{% filter capfirst %}{% trans
entry.content_type.name %}{% endfilter %}</span></li>
62 {% endfor %}
63 </ul>
64 {% endif %}
65 </div>
66 </div>
Can anyone help me out this problem?
Regards
kamakhya gupta
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---