20 Mar 2020, 2:57 p.m.
It can seem a bit of a strange one. The pandemic statistics so far (source virusncov.com):
- less than 255,000 identified cases of COVID-19 globally
- around 10,500 unfortunate deaths, mostly from those with underlying medical conditions
- deaths equates to ~0.000128% of the global population
In no way do I mean any disrespect to anyone who is ill or has been unfortunate enough to lose someone they love, but statically the numbers are very low. So the response to…
12 Mar 2020, 11:10 p.m.
As anticipated, the styling of this site became enough of a distraction to demand some of my time to resolve it. Enter Bootstrap of course!
I had a quick look around and quite liked some of the free themes on the startbootstrap site. I opted for a clean blog theme that meets my immediate needs.
As is a frequent experience with these things, implementing the templates has introduced some new ideas and a few future design challenges I need to consider…
28 Feb 2020, 4:51 p.m.
What a total hassle!
Django has a neat little debug mode which automatically runs collectstatic for you during development. This has a performance overhead, but ensures that your edited files are server via the runserver.
However, when DEBUG=False is set (as required in any Production instance for obvious security reasons), the collection of static files must be configured manually, both within the application settings file and the web host.
It’s all fairly well documented in the
10 Feb 2020, 7:57 a.m.
Clearly having text only input seriously limits the usefulness of this blog. So I’ve been looking at two markdown editors to implement into the Django set up.
Markdownx and Martor seem to get good reviews and based on the information on their GitHub pages, both seem relatively simple to implement. However, I am struggling with getting either to function correctly.
I’ve dismissed Markdownx in favour of Martor, but it’s not clear if the implementation requires the model, form, admin and template implementations, or if these are selective based on usage. I&rs…
30 Jan 2020, 6:51 p.m.
It was my intention about a year ago to migrate my content from https://blogthw.svbtle.com onto a platform that I maintained myself. There were a number of reasons for this:
- I didn’t want to pay separate subscriptions for a blog, website, hosting and online CV, when I can manage them all via one site.
- I wanted to address my lack of knowledge in web development technologies and protocols
- I wanted to learn Flask & Django
- I needed an online location for all the things that interest me…