a miniblog example in django

20 views
Skip to first unread message

rikl...@gmail.com

unread,
Jul 23, 2006, 5:23:14 PM7/23/06
to Django users

Rajeshwar Singh Jenwar

unread,
Jul 26, 2006, 6:03:48 AM7/26/06
to django...@googlegroups.com
Hi Rik,
 
How to use it ?
1. unzip miniblogen.zip
2. cd minibloggen
3. python manage.py runserver -> giving errors.
 File "manage.py", line 11, in ?
    execute_manager(settings)
  File "/usr/lib/python2.4/site-packages/django/core/management.py", line 990, in execute_manager
    execute_from_command_line(action_mapping)
  File "/usr/lib/python2.4/site-packages/django/core/management.py", line 903, in execute_from_command_line
    translation.activate('en-us')
  File "/usr/lib/python2.4/site-packages/django/utils/translation.py", line 192, in activate
    _active[currentThread()] = translation(language)
  File "/usr/lib/python2.4/site-packages/django/utils/translation.py", line 181, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE )
  File "/usr/lib/python2.4/site-packages/django/utils/translation.py", line 164, in _fetch
    app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:])
AttributeError: 'module' object has no attribute 'contenttypes'

rikl...@gmail.com

unread,
Jul 26, 2006, 7:43:08 AM7/26/06
to Django users
ups, forgoten about: rename the folder "miniblogen" to "miniblog"

1. syncdb to create all the tables (sqlite will do)
2. runserver. It should work correctly.

It's based on Django 0.95 / from SVN.

Reply all
Reply to author
Forward
0 new messages