Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ryan Hewitt
Thanks Eduardo. I'm looking into it now. That should address most of my concerns since I'll want to remotely and visually debug against a QA server that has a copy of production data. Knowing that I can so with PyCharm makes me much more comfortable about the workflow. On Thursday, June 9,

Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Eduardo Rivas
The PyCharm IDE has a visual debugger. I've never used it myself but it looks quite powerful and other people recommend it. https://www.jetbrains.com/pycharm/features/tools.html -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To

Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ryne Everett
> > Can you recommend a better, more feature-rich way to step through my > Python programs? Sometimes I use ptpdb which is the most advanced python debugger I'm aware of. It's a little slow though, so I mostly just use pdb. On Thu, Jun 9, 2016 at 5:31

Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ryan Hewitt
Thanks Ryne - I now realize this is what I had overlooked: class OrderItem(SelectedProduct): """ A selected product in a completed order. """ order = models.ForeignKey("Order", related_name="items") I'm still getting used to Django ORM creating python properties based on

Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ken Bolton
Start with a working installation, then try to understand what it does. Going the other direction is like learning to read with only an alphabet and no primer texts. -ken On Thu, Jun 9, 2016 at 3:19 PM, Ryan Hewitt wrote: > I'm simultaneously learning Django, Mezzanine

[mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ryan Hewitt
I'm simultaneously learning Django, Mezzanine and Cartridge. For years I've used Python only for small projects and I'm not as familiar with debugging and tooling as I should be. I'm trying to grok the Cartridge codebase as fully as possible before using it in my project. I'm confused about