SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast laresistance2's Avatar
    Join Date
    May 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Django admin problem

    Hello to all,
    I have a problem with the Django admin.
    When I want to access it I get this error:

    Code:
    ImportError at /admin/
    No module named django.contrib.syndication
    Request Method:	GET
    Request URL:	http://127.0.0.1:8000/admin/
    Django Version:	1.4
    Exception Type:	ImportError
    Exception Value:	
    No module named django.contrib.syndication
    Exception Location:	/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py in import_module, line 35
    Python Executable:	/usr/bin/python
    Python Version:	2.7.3
    Python Path:	
    ['/home/brussels/WEB/Python/Django/pHCOW',
     '/usr/local/lib/python2.7/dist-packages/Genshi-0.6-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/django_blog_zinnia-0.10.dev-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/pyparsing-1.5.6-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/django_xmlrpc-0.1.3-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/django_tagging-0.3.1-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/django_mptt-0.5.2-py2.7.egg',
     '/usr/local/lib/python2.7/dist-packages/BeautifulSoup-3.2.1-py2.7.egg',
     '/usr/lib/python2.7',
     '/usr/lib/python2.7/plat-linux2',
     '/usr/lib/python2.7/lib-tk',
     '/usr/lib/python2.7/lib-old',
     '/usr/lib/python2.7/lib-dynload',
     '/usr/local/lib/python2.7/dist-packages',
     '/usr/lib/python2.7/dist-packages',
     '/usr/lib/python2.7/dist-packages/PIL',
     '/usr/lib/python2.7/dist-packages/gst-0.10',
     '/usr/lib/python2.7/dist-packages/gtk-2.0',
     '/usr/lib/pymodules/python2.7',
     '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
     '/usr/lib/python2.7/dist-packages/ubuntuone-client',
     '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
     '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
     '/usr/lib/python2.7/dist-packages/ubuntuone-installer',
     '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
    But the module django.contrib.admin is enabled
    and previously I'd not received any such message.

    Have you any idea what could cause this error?

    Thank you.

  2. #2
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    If you go to /usr/local/lib/python2.7/dist-packages/django/utils/importlib.py and open that file, and find the mention to the contrib module... inside that, is there something mentioning a syndication method in there?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •