如何更改<标题>萨奇莫商店?

发布于 2024-12-06 18:36:08 字数 413 浏览 5 评论 0原文

这看起来应该是显而易见的事情,但我就是找不到它。

我使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

錯遇了你 2024-12-13 18:36:08

您需要转到“管理”、“商店配置”并更改商店的“商店名称”。

You need to go to Admin, Store configurations and change the Store Name for your store.

梨涡少年 2024-12-13 18:36:08

由网站管理员在商店/商店配置:商店名称上修改标题。
网站/网站:显示名称。它们应该是相同的。
后一个名称被一些与 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文