Wednesday, July 6, 2011

Flatpages do not work

Hallo!

I am a real beginner in Django, I try to install a new chat application
called HelpIM, you will not know it.

My problem is that the flatpages do not work. I can create a flatpage in
the admin-interface, but when I go to it, I always see a "page not
found" message from HelpIM: https://testchat4.e-hulp.nl/test/
Maybe this page needs to go "out of the way". But how?

In the documentation I cannot find something what's not correct:
https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/

I am using the development version of Django (1.4), because HelpIM needs
some new features from it.

When I turn debug on, I see this:
--------
Page not found (404)
Request Method: GET
Request URL: https://testchat4.e-hulp.nl/test/
Using the URLconf defined in helpim.urls, Django tried these URL
patterns, in this order:
^admin/translate/
^$ [name='client_join_chat']
^admin/
^admin/doc/
^admin/threadedcomments/
^admin/rooms/join/one2oneroom/$ [name='staff_join_next_available_chat']
^admin/rooms/join/one2oneroom/(\d+)/$ [name='staff_join_specific_chat']
^jsi18n/$
The current URL, test/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
404 page.
----------

What I miss here is /var/www/testchat4/templates/flatpages/ , there is
my default.html. And I don't know where to configure "helpim.urls".

With regards,
Paul van der Vlis.

--
Linux systeembeheer Groningen
http://www.vandervlis.nl

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate