Thank you Jacob. That's actually the answer I was hoping for. On Fri, Mar 25, 2011 at 8:48 PM, Jacob Kaplan-Moss <ja...@jacobian.org>wrote:
> On Fri, Mar 25, 2011 at 6:39 PM, Micah Carrick <mi...@greentackle.com> > wrote: > > I have an application which handles a typical "checkout" process for an > > e-commerce website. Orders from online customers end up in several models > [... snip complex problem ...] > > > Anybody have any tips, links to articles, etc. that > > might help me research the best approach for this project? > > Yes: don't use the admin for this. > > Really, I know it's tempting because the admin gives you like 50% of > what you want for free. But trust me when I tell you that if you go > down the path of trying to kludge the admin into supporting your > custom workflow you will be very unhappy. You'll get to 90% very > quickly, and then you'll spend a ridiculous amount of time trying to > close the final gap. You never quite will, and your app won't "feel" > right. Sooner or later you'll give up and write custom views from > scratch, throwing away all that hard work. > > Really: I've seen this happen more times than I can count. Don't go > down this path. > > Just write custom views. Try out some apps that reproduce certain > admin features -- apps like django-tables > (https://github.com/miracle2k/django-tables), django-filter > (https://github.com/alex/django-filter), django-pagination > (https://github.com/ericflo/django-pagination), and > django.contrib.formwizard or perhaps django-formwizard > (https://github.com/stephrdev/django-formwizard). They might save you > a bit of time, but you'll save the most time by not trying to force > the admin into doing something it's not good at. > > Jacob > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- *Green Tackle* - *Environmentally Friendly Fishing Tackle* www.GreenTackle.com <http://www.greentackle.com> Email: mi...@greentackle.com Phone: 971.270.2206 Toll Free: 877.580.9165 Fax: 503.946.3106 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.