我决定看看 django-cms。查看文档后,我使用克隆了存储库
git clone https://github.com/divio/django-cms.git
然后我使用安装它
sudo python setup.py install
我已经安装了 django 1.2.3。我移动到创建以下表的example
目录并运行: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
我查看了文档,发现我符合有关版本的要求,但很明显,我做错了。任何帮助将不胜感激。