如何在我的 Django 应用程序中使用 Dojo?请向我展示有关如何执行此操作的综合示例。
任何指向此组合示例代码的链接将不胜感激
注意:我也不介意使用 Dojango 的示例。
You may have seen this blog post: http://blog.uxebu.com/2008/07/26/ajax-with-dojango/
You can also try the various examples, blog articles and docs here. http://code.google.com/p/dojango/
settings.py
在您的>中包含以下 lin MIDDLEWARE_CLASSES
:'dojango.middleware.DojoCollector',
settings.py
在您的>中包含以下 lin TEMPLATE_DIRS
:('/<project_location>/dojango/templates/dojango',
这样您就可以看到一些不错的演示)settings.py
在您的>中包含以下 lin INSTALLED_APPS
:'dojango',
from django.forms import *
为from dojango.forms import *
在您的forms.py