On Tuesday 31 January 2006 14:46, Rudolph wrote: > Hi, > > I couldn't get the magic removal branch started without spending time > on fixing some errors (createsuperuser didn't work and runserver told > me "No module named sessions"). Could someone with a bit more Django > experience than me, try the code on the magic removal branch? Or does > someone know a different solution to my problem? > I really need to get this working for a project.
Lots of things have been moved round in magic-removal, so some of the settings that are in the docs are now different. I think I saw the error you are seeing due to an incorrect MIDDLEWARE setting. Mine currently looks like this: MIDDLEWARE_CLASSES = ( "django.middleware.common.CommonMiddleware", # "django.middleware.cache.CacheMiddleware", # "django.middleware.gzip.GZipMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", ) There are other settings which also need to be changed, and I'm not sure if django-admin in magic removal has been updated properly. I'm afraid that, at the moment, magic removal is for those who are happy chasing bugs like these, and working without correct docs! Also, you might want to try out r2139 of the magic-removal branch - after that things are pretty broken (like, don't expect the admin interface to work at all), due to a large syntax change. Overall, it's probably better to wait. Luke -- "Ineptitude: If you can't learn to do something well, learn to enjoy doing it poorly." (despair.com) Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/ -- "Ineptitude: If you can't learn to do something well, learn to enjoy doing it poorly." (despair.com) Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/