Hi, I'm new to django and it looks really cool. I've installed mod_python and am trying to get the tutorial to work. It seems to work for the most part but whenever I am trying to load a page I get the following error message, after I hit refresh the page loads properly, for a little while and then I get the error message again. It seems like some sort of caching problem.
Any help would be greatly appreciated. ---------------------------------------------------------------------------------------------- Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/modpython.py", line 165, in handler return ModPythonHandler()(req) File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/modpython.py", line 135, in __call__ self.load_middleware() File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/base.py", line 26, in load_middleware mod = __import__(mw_module, '', '', ['']) File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/middleware/sessions.py", line 2, in ? from django.models.core import sessions File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/models/__init__.py", line 13, in ? modules = meta.get_installed_model_modules(__all__) File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/__init__.py", line 111, in get_installed_model_modules mod = __import__('django.models.%s' % submodule, '', '', ['']) File "/home/redletters/demo/myproject/polls/models/polls.py", line 3, in ? class Poll(meta.Model): File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/__init__.py", line 870, in __new__ _reassign_globals(custom_methods, new_mod, new_class) File "/usr/local/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/__init__.py", line 581, in _reassign_globals code = v.func_code AttributeError: class Meta has no attribute 'func_code' ---------------------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---