As you may know, I have successfully clone snowy, a Tomboy web client from GNOME Git repository a couple days ago. After installing django 1.0.2 on openSUSE 11.1 (python-django package using this repository, I read the INSTALL file to running Snowy from my GIT checkout. I managed to get into the 4th step, which is starting local snowy application by executing the command python manage.py runserver. I launched my browser, type http://127.0.0.1:8000/admin in the address bar, and I got this:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 278, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 635, in __call__
return self.application(environ, start_response)
File "/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 228, in __call__
self.load_middleware()
File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py", line 44, in load_middleware
raise exceptions.ImproperlyConfigured, 'Middleware module "%s" does not define a "%s" class' % (mw_module, mw_classname)
ImproperlyConfigured: Middleware module "django.contrib.csrf.middleware" does not define a "CsrfViewMiddleware" class
I have searched in Google, and got nothing. Anyone can help?
=-=-=-=-=
Powered by Bilbo Blogger

4 Comments
Actually, as it describes in the INSTALL document, Snowy requires django from SVN.
All you have to do is first remove django 1.0.2 and then:
svn co http://code.djangoproject.com/svn/django/trunk/ django
cd django && sudo python setup.py install
Hope this helps.
Best,
-Brad
My bad then, I thought I can use my Django 1.0.2 installation for Snowy
Thanks
By the way, the best way to get help with Snowy is to ask on our mailing list:
http://mail.gnome.org/mailman/listinfo/snowy-list
Or you can stop by #snowy on GIMPNet if you like IRC.
well, unfortunately I do not have any internet connection back at home, and my office’s proxy server blocks the IRC
But I definitely will give the mailing list a look
Thanks