Hi Satchmo People,
This is my first of what will hopefully turn out to be many posts to
this group. I've been developing e-Commerce sites with Django for some
time now, but have so far managed to steer clear of the Satchmo
juggernaut by using my own custom applications. I've decided to give
Satchmo a chance in the hope of contributing to a standardised project
which can benefit the whole Django community.
In its current form, Satchmo is unusable (or requires some very ugly
hacking) for meeting the requirements of most of my clients. I'm
hoping to help patch it up to solve this and get on board for the long
term.
The first issue I'd like to address is Product inheritance, which I
realise is an issue with a degree of history (e.g. [1]). The current
documentation and system for Custom Product Modules seems desperately
lacking [2]. I've put an initial patch together [3] which allows
Product to be inherited with easy resolution of the subclass and
provision of an optional `template` attribute. The documentation in
the changeset demonstrates the usage. As far as I can tell it is
completely unobtrusive and backwards compatible, apart from the extra
column in product_product. I would have added a south migration for
this, but the product application migrations are not currently in a
usable state [4].
I've not submitted a pull-request yet as I thought I'd get some
opinions first in case people have better ideas. I've also not yet
added tests, but will do this if/when things go forward.
If all goes well, my next job after improving the inheritance system
(which takes more than just this initial patch) is to allow ManyToMany
sharing of Products between Sites.
Cheers,
Simon
[1]
http://groups.google.com/group/satchmo-developers/browse_thread/thread/60e059a99fd4379c/42080bb99f30e340
[2]
http://bitbucket.org/chris1610/satchmo/issue/1151/
[3]
http://bitbucket.org/drmeers/satchmo/changeset/2be225139dd3
[4]
http://bitbucket.org/chris1610/satchmo/issue/1152/
--
You received this message because you are subscribed to the Google Groups "Satchmo developers" group.
To post to this group, send email to
satchmo-d...@googlegroups.com.
To unsubscribe from this group, send email to
satchmo-develop...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/satchmo-developers?hl=en.