I can access other pages in the doc area (ex: /admin/doc/filters/ or /
admin/doc/tags/) but when I try to access the views documentation, I
receive:

"""
SyntaxError at /admin/doc/views/
invalid syntax (views.py, line 39)
Request Method:         GET
Request URL:    http://localhost:8000/admin/doc/views/
Exception Type:         SyntaxError
Exception Value:        invalid syntax (views.py, line 39)
Exception Location:     C:\Python25\lib\site-packages\django\core
\urlresolvers.py in _get_callback, line 125


Traceback (most recent call last):
File "C:\Python25\lib\site-packages\django\core\handlers\base.py" in
get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "C:\Python25\lib\site-packages\django\contrib\admin\views
\decorators.py" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "C:\Python25\Lib\site-packages\django\contrib\admin\views\doc.py"
in view_index
  108. view_functions =
extract_views_from_urlpatterns(urlconf.urlpatterns)
File "C:\Python25\Lib\site-packages\django\contrib\admin\views\doc.py"
in extract_views_from_urlpatterns
  341. views.extend(extract_views_from_urlpatterns(patterns, base +
p.regex.pattern))
File "C:\Python25\Lib\site-packages\django\contrib\admin\views\doc.py"
in extract_views_from_urlpatterns
  333. views.append((p._get_callback(), base + p.regex.pattern))
File "C:\Python25\lib\site-packages\django\core\urlresolvers.py" in
_get_callback
  125. self._callback = getattr(__import__(mod_name, {}, {}, ['']),
func_name)

  SyntaxError at /admin/doc/views/
  invalid syntax (views.py, line 39)
"""

I'm using .96, and Python 2.5 on windoze.

I see some posts about not being able to access the views because of a
decorator issue, but they don't seem related.


--~--~---------~--~----~------------~-------~--~----~
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