Re: Flatpages - what am I missing to make these work (advice, please)?

2009-08-20 Thread allenh

Hi,

I had the same problem with the SITE_ID mismatched. I also found you
can just recognize the SITE_ID from the admin page by editing the site
form and checking the URL like (http://localhost:8000/admin/sites/site/
1/). The last number on URL is exactly the SITE_ID of your site name.
Just a tip!

On Aug 19, 3:42 pm, gegard  wrote:
> Thank you! That has resolved my problem.
>
> The admin shell does not show the site id number by default, so I
> supposed that removing the default 'example.com' and adding 'mysite'
> would enable Django to reuse id 1. I should have assumed otherwise -
> the new site was id == 2, of course. I should have edited
> 'example.com' rather than removing it.
>
> Geoff
>
> > ... my site.id was not 1 but 2 as I
> > discovered with
> > the shell...
>
>

--~--~-~--~~~---~--~~
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 - what am I missing to make these work (advice, please)?

2009-08-19 Thread gegard

Thank you! That has resolved my problem.

The admin shell does not show the site id number by default, so I
supposed that removing the default 'example.com' and adding 'mysite'
would enable Django to reuse id 1. I should have assumed otherwise -
the new site was id == 2, of course. I should have edited
'example.com' rather than removing it.

Geoff

> ... my site.id was not 1 but 2 as I
> discovered with
> the shell...

--~--~-~--~~~---~--~~
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 - what am I missing to make these work (advice, please)?

2009-08-18 Thread alain31

I just had the same problem, because my site.id was not 1 but 2 as I
discovered with
the shell...

On 18 août, 22:24, gegard  wrote:
> > I cannot get flatpages to work on my site
>
> ... which, I should have said, is in Django 1.1.
>
> Geoff
--~--~-~--~~~---~--~~
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 - what am I missing to make these work (advice, please)?

2009-08-18 Thread gegard

> I cannot get flatpages to work on my site
... which, I should have said, is in Django 1.1.

Geoff

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