Posts by lennys (72)

Sigh...

So Summernote just doesn't want to work in this blog, because of the way the blog is constructed. I spent hours looking at the site's code trying different things, and while I can get Summernote to work in the admin pages, I can't get it to work on the publicly-facing blog post form. Making my posts via admin doesn't really work either because Django "escapes" all the text I type in when it publishes the blog post, which means that any image or HTML tags I use in the text are rendered literally. So making H1 tags, for example, comes out in the published blog post as <h1>Here's some text</h1> literally, instead of being parsed as an HTML tag. I haven't given up on this completely, but I'm moving on to other things rather than waste a bunch more time trying to figure things out. I dug out my "Django for Beginners" book last night and brought it with me to work, so I'm going to start working my way through that instead. I've been through this book once before, but it was a few years ago so I hope this will be a good refresher for me. I also grabbed one of my CCNA notebooks on the way out the door this morning. I could use a refresher on that material too, so I'll spend a little bit of time reading through that today. I still have 4 Cisco switches and 3 Cisco routers racked in my cabinet, and in the future I'm planning on using Ansible to manage them so a fresh look at Cisco commands and stuff is definitely needed. I'm not planning on using this gear for anything other than learning how it all works. Ansible is written in Python, so I think I'll be able to understand it, and it would be a good bullet point on my resume to say I have Ansible experience. Not much happening at work today (so far). I am fortunate to have an employer who allows us to work on our own projects while we're on the clock, otherwise I wouldn't have made it anywhere near this far.

Plans for the future

I found another tutorial about Summernote, this one is at ctrlzblog.com. I'm going to try incorporating it into the Django Girls blog I was working on a few days ago. Hopefully after working through this one, I'll be able to get Summernote working in this blog. After that, I have a list of things I want to do: - build a sitemap and submit it to Google - create a robots.txt file for the internet spiders - figure out how to make the "blog" and "projects" links work in my main site - build a Contact Us page for the LS Enterprises site - look into using Ansible on my Cisco gear in my cabinet - have a CCNA refresher, read through my notes etc. I need to do some basic SEO for this blog and my other sites, so when people Google my name they can find me. Right now if you Google "Lenny Short", you get a lot of links to some women's clothing sites, and if you Google "Leonard Short", you get links to some movie producer's IMDB page, along with some other links to other people with my name. Hopefully I can fix that.

Django Girls

Today I spent a few hours working my way through another tutorial. This one was found at djangogirls.com, and was another basic blog tutorial. I managed to get the thing working, and it's live at leonthegreat.pythonanywhere.com. Right now it just has the "lorem ipsum" placeholder text to make it look pretty. I haven't decided if I'm going to try and turn this one into something useful. I did get a couple of ideas for this blog from working through the DjangoGirls blog tutorial. I might be able to get the Summernote form working, I don't know. I'll probably take a shot at that tomorrow. The DjangoGirls tutorial was pretty thorough and well put together. There's more content than what I worked through today, so I'll be going over that in the near future. What I'd like to find is a tutorial that works through some more advanced stuff, similar to the projects I built while watching the CodeWithStein videos on YouTube. At some point I'm going to have to get another Django book too, but I might read through the old ones I have at home first. I could use a refresher.

First Previous 19 20 21 22 23 Next Last

My Other Sites

Built with Python and Django

Sites I Like

A Random Collection

Tools I've Used

Mainly Software Stuff