Viewing posts tagged django

Building a full ecommerce site part 6: send customers to Oscar's thank-you page after payment

After yesterday's frustrating process, I took a long hike up Šehitluci to chill out. When I came back down this cool conservationist dude about to cycle across Europe taught me how to identify edible herbs in a garden gone wild and I ate them. Then, I googled "javascript how to click element after event". A few googles later, I'd cobbled together the right code. I am so relieved this turned out easy.

Building a full ecommerce site part 2: handling Oscar's static files and templates

I realised today that if Mezzanine and Oscar share the same file names for a lot of templates and static files (in addition to urls, as mentioned in part 1), I should probably separate them more clearly. Especially since static files are collected into the same directory for production with collectstatic.

Building a full ecommerce site part 1: integrating Django-Oscar into Mezzanine

Why this article

Because Stack Overflow is feckin' unfriendly to noobs and I need somewhere to post my code so I can show it to more experienced devs and ask if I'm doing it right or is some other method better practice.

Deploying a Mezzanine site on DigitalOcean

I finished building the first version of this site a couple of weeks back. But, I hadn't a mote of a clue how to deploy a site. So I went a-googlin'. I turned up this article: "How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 16.04". It looked encouragingly complete. But you know how the story goes. It doesn't simply go. It stumbles all over the place, falls off a few cliffs, drowns, and then you do it again. And again, and again, and again ad infinitum ad naseam.