flatpages & DEBUG=False

2006-05-06 Thread JKR

I encountered problem that similar to ticket#1296 with the latest dev
revision?
my flatpages is only working when DEBUG=True. Currently, I'm using
revision 2864.

I try to look at the flatpages middleware, but cant find anything
suspicious :)
Anyone have the same problem or resolution?

Thanks,



Traceback (most recent call last):

  File
"/usr/lib/python2.3/site-packages/django/core/servers/basehttp.py",
line 272, in run
self.result = application(self.environ, self.start_response)

  File
"/usr/lib/python2.3/site-packages/django/core/servers/basehttp.py",
line 615, in __call__
return self.application(environ, start_response)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/wsgi.py",
line 145, in __call__
response = self.get_response(request.path, request)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py",
line 95, in get_response
return callback(request, **param_dict)

  File "/usr/lib/python2.3/site-packages/django/views/defaults.py",
line 78, in page_not_found
t = loader.get_template(template_name)

  File "/usr/lib/python2.3/site-packages/django/template/loader.py",
line 79, in get_template
return
get_template_from_string(*find_template_source(template_name))

  File "/usr/lib/python2.3/site-packages/django/template/loader.py",
line 72, in find_template_source
raise TemplateDoesNotExist, name

TemplateDoesNotExist: 404.html


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



Re: Template guide -> administration feature.

2005-10-05 Thread JKR

Cool, I got it work like a charm now.

Thanks Kieran,



Re: Template guide -> administration feature.

2005-10-04 Thread JKR

Thanks for the helps,

No link from admin page, but i got it work under /admin/doc/ link. it
required a python-docutils installed in order to view this page.

i'm able to see tags, filter and models. but nothing under view? is
this normal when I'm using generic view.

Johny