我決定看看django-cms。看文檔之後,我克隆使用如何啓動django cms項目
git clone https://github.com/divio/django-cms.git
庫然後,我用
sudo python setup.py install
我已經有Django的1.2.3安裝安裝它。我搬到了example
目錄中的RAN syncdb
它創建以下表:
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table django_site
Creating table sampleapp_category
Creating table sampleapp_picture
Creating table south_migrationhistory
You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes...
我們可以清楚地看到,不創建CMS表。運行服務器和瀏覽http://localhost:8000/
DatabaseError: no such table: cms_page
我看過的文檔,並看到了,我就滿足了版本的要求,但很顯然,我做錯事的時候,我明顯面臨這個問題。任何幫助將不勝感激。
該應用是否在項目的設置文件中啓用?我認爲這很可能是問題所在。 – 2010-12-14 11:29:51