Posts by lennys (68)

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.

Pics, part 2

So I was able to get the Summernote text editor working in the Django admin section, so I can use basic HTML formatting and pictures in my posts. The problem is that Django still isn't rendering the HTML tags properly. Django automatically "escapes" the tags, so in the published post they show up as plain text, instead of producing the paragraph and image tags. I have to research this one, so I may not come up with a solution any time soon. I'm still trying to figure out how to incorporate Summernote into the publicly-facing post form. Like I mentioned the other day, the issue is that this blog was built without a forms.py file in the blog app, whereas the tutorials I've seen so far all make use of a forms.py file. So I'm left trying to figure out how to make this work without a forms.py file. I'm going to continue working on this. I'm not sure what I'll add after I get Summernote working. I've been thinking about adding something that would enable me to resize the images I use, and I saw a blog post online that covered that, so maybe I can find a way to make it work. After that, I think I'll put in some work on my other websites. The main one has an issue with adding links to the main page, and the LS Enterprises site is just a very basic placeholder. There's still the question of getting Django's email functionality working too, I think I can figure it out and get it to work with my mail server, but that's on the back burner for now. I'm glad I'm making progress, even though it's slow. Today is a Saturday and I'm at work with nothing to do, so I will hopefully make some progress today on something useful. Update: I posted a question on StackOverflow about this. Internet, do your thing!

First Previous 18 19 20 21 22 Next Last

My Other Sites

Built with Python and Django

Sites I Like

A Random Collection

Tools I've Used

Mainly Software Stuff