Did you have a view named "startsess" that you subsequently deleted?
Admin is looking for it but not finding it.  You may need to remove it
from django_content_type.  Try dropping that table from your database
and running python manage.py syncdb.

On Oct 3, 12:34 pm, Greg <[EMAIL PROTECTED]> wrote:
> Hello,
> Whenever I login to my admin view the very first thing I see if the
> following error.  It also happens occasionally when I'm going through
> my admin pages.
>
> ViewDoesNotExist at /admin/
> Tried startsess in module mysite.rugs.views. Error was: 'module'
> object has no attribute 'startsess'
> Request Method:         GET
> Request URL:    http://127.0.0.1:8000/admin/
> Exception Type:         ViewDoesNotExist
> Exception Value:        Tried startsess in module mysite.rugs.views. Error
> was: 'module' object has no attribute 'startsess'
> Exception Location:     c:\Python24\lib\site-packages\django\core
> \urlresolvers.py in _get_callback, line 184
> Python Executable:      c:\Python24\python.exe
> Python Version:         2.4.4
>
> //////////////////////////////////////////////////////////////////////////////
>
> Template error
>
> In template c:\python24\lib\site-packages\django\contrib\admin
> \templates\admin\base.html, error at line 28
> Caught an exception while rendering: Tried startsess in module
> mysite.rugs.views. Error was: 'module' object has no attribute
> 'startsess'
> 18      {% if not is_popup %}
> 19      <!-- Header -->
> 20      <div id="header">
> 21      <div id="branding">
> 22      {% block branding %}{% endblock %}
> 23      </div>
> 24      {% if user.is_authenticated and user.is_staff %}
> 25      <div id="user-tools">
> 26      {% trans 'Welcome,' %} <strong>{% if user.first_name %}
> {{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</
> strong>.
> 27      {% block userlinks %}
> 28      <a href="{% url django.contrib.admin.views.doc.doc_index %}">{%
> trans 'Documentation' %}</a>
> 29      / <a href="{% url django.contrib.auth.views.password_change %}">{%
> trans 'Change password' %}</a>
> 30      / <a href="{% url django.contrib.auth.views.logout %}">{% trans
> 'Log out' %}</a>
> 31      {% endblock %}
> 32      </div>
> 33      {% endif %}
> 34      {% block nav-global %}{% endblock %}
> 35      </div>
> 36      <!-- END Header -->
> 37      {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{%
> trans 'Home' %}</a>{% if title %} › {{ title|escape }}{% endif
> %}</div>{% endblock %}
> 38      {% endif %}
>
> //////////////////////////////////////////////////////////
>
> Line 28 is highlighted in the above code.  This code is in red '{% url
> django.contrib.admin.views.doc.doc_index %}' from line 28
>
> Thanks for any help


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to