django-cart 还是 Satchmo?

发布于 2024-07-12 08:51:36 字数 311 浏览 5 评论 0原文

我正在寻找实现一个非常基本的购物车。 Satchmo 似乎安装了很多应用程序和额外的东西,但我没有安装需要。 我听其他人提到过 django-cart。 有人尝试过这个 Django 应用程序 (django-cart) 吗? 有什么需要注意的或者有什么其他的经历吗?

I'm looking to implement a very basic shopping cart. Satchmo seems to install a lot of applications and extra stuff that I don't need. I've heard others mention django-cart. Has anyone tried this Django app (django-cart)? Anything to watch for or any other experiences?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(6

毅然前行 2024-07-19 08:51:36

如果您想使用 django-cart,您应该将其视为开发自己的版本的起点。 该项目的最后一次提交 (r4) 是 2006 年 11 月。

相比之下,对 Satchmo 的最后一次提交 (r1922) 是几个小时前。

通过 Satchmo,您可以获得正在积极开发并由真实电子商务网站实际使用的代码。

如果您自己开发,您将面临疏远客户和损失金钱的风险。 如果您使用 Satchmo,您可以花更多时间开发/改进网站的其他区域。

我打赌您已经猜到了我的推荐:)

至于 Satchmo 中的应用程序和其他内容,我可以根据个人经验告诉您,您不需要将它们全部包含在 INSTALLED_APPS 设置中。 我不记得我具体削减了什么,但我的 INSTALLED_APPS 中只有大约 6-7 个 Satchmo 应用程序,而它们都是我需要的。 我认为从那时起他们已经进行了更多的模块化。

Well if you want to use django-cart you should view it as a starting point for developing your own. The last commit (r4) for the project was November 2006.

By comparison, the last commit (r1922) to Satchmo was a couple of hours ago.

With Satchmo you get code that is under active development and actually used by real e-commerce sites.

If you develop your own you're running the risk of alienating customers and losing money. If you use Satchmo you can spend more time developing/improving other areas of your site.

I bet you can already guess my recommendation :)

As for the apps and other stuff in Satchmo I can tell you, from personal experience, that you don't need to include them all in your INSTALLED_APPS setting. I don't remember exactly what I pared it down to, but there were only around 6-7 Satchmo apps in my INSTALLED_APPS and they were all ones I needed. I think they've done even more modularization since then.

伏妖词 2024-07-19 08:51:36

我认为没有太多开箱即用的解决方案的原因是大多数使用 Django 的人都是高级用户。 他们倾向于推出自己的解决方案,特别是考虑到在 Django 中实现起来是多么容易。

为了回答您的问题,DJwarehouse 是我所知道的唯一其他购物车。

I think the reason there aren't really many out-of-the-box solutions is because most people who use Django are power users. They tend to want to roll out their own solutions, especially considering how easy it is to do in Django.

To answer your question, DJwarehouse is the only other cart I'm aware of.

痞味浪人 2024-07-19 08:51:36

如上所述,Django-cart 已经很长时间没有更新了,因此它很可能与 Django 1.0 和较新版本的 Django 不兼容。 仅出于这个原因,我建议坚持使用更新的东西。

我有偏见,因为我是 Satchmo 的开发者,但我认为 Satchmo 的杀伤力有点过分了。 您可能会对您认为想要用“简单购物车”做的所有事情感到惊讶。 很快事情可能就不那么简单了。

最坏的情况是,如果 Satchmo 太多,您可以删除您不关心的部分。

As mentioned above, Django-cart hasn't been updated in a long time so it is most likely not compatible with Django 1.0 and the more recent versions of Django. For that reason alone, I'd recommend sticking with something more recent.

I'm biased because I'm a dev on Satchmo but I think the feeling of overkill with Satchmo is a bit overblown. You'll probably be surprised at all the things you think you'll want to do with your "simple cart." Soon it may not be so simple.

Worst case, if Satchmo is too much you can yank out the parts you don't care about.

許願樹丅啲祈禱 2024-07-19 08:51:36

似乎 Django-cart 的新版本已于 3 月 25 日发布。 http://vaig.be/2009/03/django-cart-released。 html

想知道新版本相对于 Satchmo 的表现如何。

Seems that a new version of Django-cart has been released on 25th March. http://vaig.be/2009/03/django-cart-released.html

Wonder how the new version fares with respect to Satchmo.

无言温柔 2024-07-19 08:51:36

Satchmodjango-cart.
如果您正在寻找简单且轻量级的购物车应用程序,请尝试 django-carton 它与django 购物车。

它有助于购物车操作,例如添加和删除商品。
它不实现视图、模板或支付处理模块 - 您可以按照自己的方式自由构建它们。
购物车位于会话中,而不是数据库中。 购物车项目是任意产品对象,因此您可以按照自己想要的方式定义产品模型。

Satchmo has more features than django-cart.
If you are looking for simple and lightweight shopping cart application, try django-carton which is pretty similar to django-cart.

It helps with shopping cart operations such as adding and removing items.
It's does not implement views, templates nor payment processing modules - you are free to build them your way.
The cart lives in the session, not in the database. The cart items are arbitrary product objects so you can define your product model the way you want.

提笔落墨 2024-07-19 08:51:36

我正在使用 django-cart,它并不是一个真正的应用程序 - 它是一个应用程序的开始。 没有任何视图,总共大约有 150 行代码。 没有文档,但很清楚如何使用其中的大部分内容。 我有点不确定 ItemManager 的意图或应该如何使用它。 将它与 Satchmo 进行比较就像将跳蚤与大象进行比较。
他们有点不同。

I am using django-cart and it is not really an app - it is a start of an app. There are no views, and it totals about 150 lines of code. There is no doc but it is pretty clear how to use most of it. I am a little unsure of the intention of ItemManager or how that is supposed to be used. Comparing it to Satchmo is like comparing a flea to an elephant.
They are a little different.

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