Re: Flatpages do not work

2011-07-06 Thread Paul van der Vlis
Op 06-07-11 12:21, CareerDhaba tech schreef:
> Hi Paul,
> 
> As described in the error, Django couldn't find the url test/ in the
> URLconf because its not there.
> 
> Go to the urls.py of your app and add the appropriate link, and view to
> the URLconf.
> 
> Go through this link, it should be helpful -
> https://docs.djangoproject.com/en/1.3/topics/http/urls/

Thanks for your help. I fixed the problem by choosing the right "site"
in the admin interface. Because my SITE-ID is "1", I have to choose the
first site in the list somebody wrote my. This helped.

With regards,
Paul.


> On Wed, Jul 6, 2011 at 3:32 PM, Paul van der Vlis <p...@vandervlis.nl
> <mailto:p...@vandervlis.nl>> wrote:
> 
> 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
> <mailto:django-users@googlegroups.com>.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> <mailto:django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.





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



Re: Flatpages do not work

2011-07-06 Thread CareerDhaba tech
Hi Paul,

As described in the error, Django couldn't find the url test/ in the URLconf
because its not there.

Go to the urls.py of your app and add the appropriate link, and view to the
URLconf.

Go through this link, it should be helpful -
https://docs.djangoproject.com/en/1.3/topics/http/urls/

On Wed, Jul 6, 2011 at 3:32 PM, Paul van der Vlis <p...@vandervlis.nl>wrote:

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

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



Flatpages do not work

2011-07-06 Thread Paul van der Vlis
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.