开发者

Message framework: no module messages

开发者 https://www.devze.com 2022-12-29 06:09 出处:网络
I am following this tutorial: http://docs.djangoproject.com/en/dev/ref/contrib/messages/ but I get this error:

I am following this tutorial:

http://docs.djangoproject.com/en/dev/ref/contrib/messages/

but I get this error:

Error: No module named messages

.

开发者_开发知识库And in django/contrib folder effectively there isn't a messages app.

How can I get work message framework ?


The message framwork is added in the development version and will be available in django 1.2, so you could download the latest svn version or the 1.2 Release candidates (preferable). More info on this can be found here.

In django 1.1 (current stable version), a less advanced message framework coupled more tightly to the user model is used, you can find more info about that here.

0

精彩评论

暂无评论...
验证码 换一张
取 消