don't work Flatpages

31 views
Skip to first unread message

gerram

unread,
May 31, 2010, 9:28:01 PM5/31/10
to Django users
Hi, everybody! I tried to set Flatpages about 3 days but I could get
only "404" error in browser. If someone had a few time look at my
settings: http://files.mail.ru/JXHUOU

Enter for admin part: user:Django, pass:Django

Regards.

gerram

unread,
Jun 1, 2010, 6:02:19 AM6/1/10
to Django users
I decided this problem. The matter of it was SITE_ID in settings.py.
The facto of the matter that Flatpages from box has default site
example.com as default. If you create new your site before deleting
example.com you get SITE_ID: 2 and etc for your site. After that you
can delete example.com but your site will be still with ID:2 and more.
However in settings.py you get as default SITE_ID:1. You have to be
carefully with SITE_ID if you are going to work with Flatpages.
Regards, George.
Reply all
Reply to author
Forward
0 new messages