怎么启动python项目_如何启动django cms项目

我决定去看看django cms。在看过文档之后,我使用git clone https://github.com/divio/django-cms.git

然后我用

^{pr2}$

我已经安装了django1.2.3。我移到了example目录,an运行了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

我看过文档,看到我满足了版本的要求,但是很明显,我做错了什么。任何帮助都将不胜感激。在

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值