Hi,

Did you enable Admin in the project settings file? You need to enable it before you can start using it. Read the Django documentation to find out more info on this.

Cheers,
Harish

On 7/18/06, Raman Prasad <[EMAIL PROTECTED]> wrote:

Hi,

I have an admin setup question (I think I'm missing a basic step)

I have some basic django code running on my laptop (local)
which works fine but I'm having trouble moving it to a webfaction
account.

I used the screencast, etc but I'm getting a "no module named admin"
error when trying
to show the admin screen.  http:// . . ./admin/

I have the same error at the command line--the trace from the command
line is:

        Python 2.4 (#1, Jul 24 2005, 05:05:49)
        >>> import django
        >>> from django.conf.urls.defaults import *
        >>> import django.contrib.admin.urls.admin
        Traceback (most recent call last):
          File "<stdin>", line 1, in ?
        ImportError: No module named admin
        >>>

The trace from a webpage is:

        Traceback (most recent call last):
        File "/home2/prasad06511/lib/python2.4/django/core/handlers/base.py"
in get_response
          65. callback, callback_args, callback_kwargs = resolver.resolve(path)
        File "/home2/prasad06511/lib/python2.4/django/core/urlresolvers.py"
in resolve
          147. sub_match = pattern.resolve(new_path)
        File "/home2/prasad06511/lib/python2.4/django/core/urlresolvers.py"
in resolve
          145. for pattern in self.urlconf_module.urlpatterns:
        File "/home2/prasad06511/lib/python2.4/django/core/urlresolvers.py"
in _get_urlconf_module
          163. self._urlconf_module = __import__(self.urlconf_name, '', '',
[''])

          ImportError at /admin/
          No module named admin

Thanks for any help!

-raman






--
Harish Mallipeddi
http://poundbang.in/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to