Have you installed the admin app? Specificaly, did you add : 'django.contrib.admin', to INSTALLED_APPS in your settings file?
I'm assumig by the error message that you've uncommented the line in urls.py On 5/22/06, Frankie Robertson <[EMAIL PROTECTED]> wrote: > > I've already asked this in IRC and nobody knew the answer. It is an > error occurs even when I start a new project with fairly minimal stuff > for just the admin application. (http://django.pastebin.com/731267). > This suggests to me that I've somehow messed it up. But I'm using svn > and linking the directory into site-packages so I can't really just > reinstall it. > > http://0:8000/admin/ > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" > in get_response > 65. callback, callback_args, callback_kwargs = resolver.resolve(path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 75. sub_match = pattern.resolve(new_path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 75. sub_match = pattern.resolve(new_path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 49. self.func = self.get_callback() > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in > get_callback > 57. raise ViewDoesNotExist, "Could not import %s. Error was: %s" % > (mod_name, str(e)) > > ViewDoesNotExist at /admin/ > Could not import django.contrib.admin.views.main. Error was: cannot > import name LogEntry > > I can write stuff that works. It seems to just be the admin. I don't > know if I've somehow broken it but I'm using svn and checking out new > versions doesn't seem to work. > I'm running ubuntu linux with Python 2.4.2 and PostgreSQL 8.0.6 and django > svn. > > Anyways if anyone has any thoughts on what I'm doing wrong then please tell > me. > > Thanks, > Frankie. > > > > -- ---- Waylan Limberg [EMAIL PROTECTED] X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.54.131.8 with SMTP id e8mr203860wrd; Mon, 22 May 2006 12:19:56 -0700 (PDT) Return-Path: <[EMAIL PROTECTED]> Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.194]) by mx.googlegroups.com with ESMTP id v23si1139124cwb.2006.05.22.12.19.55; Mon, 22 May 2006 12:19:56 -0700 (PDT) Received-SPF: pass (googlegroups.com: domain of [EMAIL PROTECTED] designates 66.249.82.194 as permitted sender) DomainKey-Status: good (test mode) Received: by wx-out-0102.google.com with SMTP id s12so1049554wxc for <django-users@googlegroups.com>; Mon, 22 May 2006 12:19:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s¾ta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OZbXjUq8mKcYmW4vwAj6Rzuj541gnijt1EP+ZVQX1X74Y6X7yL3Tlovk7JagSQeYODJKZzT1uBnEpfo8cTE/sqoMUoZVgx7odGTuPyh67sBEuqNgDhT7iaK/7qsD/AYiL/oqOI5Oizb5h7xbzlzLqyXzspDm5V2i7UFZBrOAsKwReceived: by 10.70.48.18 with SMTP id v18mr5510670wxv; Mon, 22 May 2006 12:19:54 -0700 (PDT) Received: by 10.70.90.13 with HTTP; Mon, 22 May 2006 12:19:54 -0700 (PDT) Message-ID: <[EMAIL PROTECTED]> Date: Mon, 22 May 2006 15:19:54 -0400 From: "Waylan Limberg" <[EMAIL PROTECTED]> To: django-users@googlegroups.com Subject: Re: Admin gives an error. Even in a new project. In-Reply-To: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable References: <[EMAIL PROTECTED]> Have you installed the admin app? Specificaly, did you add : 'django.contrib.admin', to INSTALLED_APPS in your settings file? I'm assumig by the error message that you've uncommented the line in urls.py On 5/22/06, Frankie Robertson <[EMAIL PROTECTED]> wrote: > > I've already asked this in IRC and nobody knew the answer. It is an > error occurs even when I start a new project with fairly minimal stuff > for just the admin application. (http://django.pastebin.com/731267). > This suggests to me that I've somehow messed it up. But I'm using svn > and linking the directory into site-packages so I can't really just > reinstall it. > > http://0:8000/admin/ > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" > in get_response > 65. callback, callback_args, callback_kwargs = resolver.resolve(path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 75. sub_match = pattern.resolve(new_path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 75. sub_match = pattern.resolve(new_path) > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve > 49. self.func = self.get_callback() > File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py" in > get_callback > 57. raise ViewDoesNotExist, "Could not import %s. Error was: %s" % > (mod_name, str(e)) > > ViewDoesNotExist at /admin/ > Could not import django.contrib.admin.views.main. Error was: cannot > import name LogEntry > > I can write stuff that works. It seems to just be the admin. I don't > know if I've somehow broken it but I'm using svn and checking out new > versions doesn't seem to work. > I'm running ubuntu linux with Python 2.4.2 and PostgreSQL 8.0.6 and django > svn. > > Anyways if anyone has any thoughts on what I'm doing wrong then please tell > me. > > Thanks, > Frankie. > > > > -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---