如何更改<标题>萨奇莫商店?标题>
这看起来应该是显而易见的事情,但我就是找不到它。
我使用 clonesatchmo.py 创建了一个 Satchmo 商店,如安装说明所示。
我尝试通过管理界面(转到“站点”并更改显示名称)并编辑 local_setting.py,将行:
SITE_NAME = "Simple Satchmo"
更改为
< code>SITE_NAME = "Anything Else"
这两种更改都不会影响实际商店。 Simple Satchmo 仍然留在标题栏中,嘲笑我。那么,我做错了什么愚蠢的事情呢?
This seems like something that should be obvious, but I simply can't find it.
I created a Satchmo store using clonesatchmo.py, as indicated by the installation instructions.
I have tried to change the name of the site through the admin interface (going to Sites and changing the display name) and by editing local_setting.py, changing the line:
SITE_NAME = "Simple Satchmo"
to
SITE_NAME = "Anything Else"
By neither change impacts the actual store. Simple Satchmo remains in the title field, mocking me. So, what idiotic thing am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要转到“管理”、“商店配置”并更改商店的“商店名称”。
You need to go to Admin, Store configurations and change the Store Name for your store.
由网站管理员在
商店/商店配置:商店名称
上修改标题。和
网站/网站:显示名称
。它们应该是相同的。后一个名称被一些与 Django 相关的实用程序使用,例如发送注册电子邮件。
设置行
SITE_NAME
仅在第一次运行“clonesatchmo.py”或“manage.py satchmo_load_store”之前有效。请注意,该行前面有注释# 这些在加载测试数据时使用
IMO 的解释还不够。我会建议开发团队在 Satchmo 0.9.3 中通过安装脚本将其删除。现在至少会得到更好的解释。
Modify the tittle by web site Admin on both
Shop / Store Configuration: Store Name
.and
Sites / Sites: Display Name
. They should be the same.The latter name is used by some utils related to Django, like sending registration email.
Setting the line
SITE_NAME
has any effect only before the first running "clonesatchmo.py" or "manage.py satchmo_load_store". Note that the line is preceded by a comment# These are used when loading the test data
This is not enough explanatory IMO. I will suggest in the development team to remove it by installation script in Satchmo 0.9.3. It will be at least better explained now.