开始Django-Instant Django [英] Getting started with Django-Instant Django

查看:81
本文介绍了开始Django-Instant Django的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图让Django运行,当通过介绍进行项目时,似乎我遇到麻烦,当我进入同步数据库部分。当使用InstantDjango时,这似乎并不是一个问题。我的问题是,只需用InstantDjango程序进行Django开发,或者你真的需要以正常的方式运行?

解决方案

InstantDjango默认使用sqlite。你设置了什么数据库你正常使用django?您是否在运行syncdb之前创建了该数据库?



InstantDjango对于所有可能不太稳定的django必需库(便携式版本)使用不同的包装,但应该为您的发展需要工作。


I've been trying to get Django running and when going through the intro to projects it seems that I keep having trouble when I get to the 'sync database' section. When using InstantDjango this doesn't seem to be as much of a problem. My question is, can one just do Django development with the InstantDjango program or do you really need to run it the normal way?

解决方案

InstantDjango uses sqlite by default. What database did you set your normal django to use? and you did you create that database before you ran the syncdb?

InstantDjango uses different packaging for all the django required libraries (portable versions) which might be less stable but they should work for your development needs.

这篇关于开始Django-Instant Django的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆