Site failing with:

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/home/ubernostrum/pylib/django/core/handlers/modpython.py",
line 177, in handler
    return ModPythonHandler()(req)

  File "/home/ubernostrum/pylib/django/core/handlers/modpython.py",
line 150, in __call__
    response = self.get_response(request)

  File "/home/ubernostrum/pylib/django/core/handlers/base.py", line
125, in get_response
    callback, param_dict = resolver.resolve500()

  File "/home/ubernostrum/pylib/django/core/urlresolvers.py", line
200, in resolve500
    return self._resolve_special('500')

  File "/home/ubernostrum/pylib/django/core/urlresolvers.py", line
189, in _resolve_special
    callback = getattr(self.urlconf_module, 'handler%s' % view_type)

  File "/home/ubernostrum/pylib/django/core/urlresolvers.py", line
177, in _get_urlconf_module
    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])

  File "/home/ubernostrum/pylib/snippets/urls.py", line 5, in ?
    from cab.models import Language, Snippet, Tag

  File "/home/ubernostrum/pylib/cab/models.py", line 137

    original = models.ForeignKey('self', null=True, blank=True,,
editable=False,

                                                               ^

SyntaxError: invalid syntax

On Feb 26, 11:11 am, "akaihola" <[EMAIL PROTECTED]> wrote:
> Great!
>
> One small note:
> The e-mail field when registering towww.djangosnippets.orgis too
> short for the e-mail address I use for on-line services.
>
> Also, the FAQ page fails:
>
> File "/home/ubernostrum/pylib/cab/models.py", line 137
>     original = models.ForeignKey('self', null=True, blank=True,,
> editable=False,
>
> SyntaxError: invalid syntax


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to