New to programming Python and Django!

by: chilink52, 8 years ago


I recently watched your wonderful video's on how to get started on Django and now have my first project webpage started. I hit a small hiccup and want to know how to avoid a problem in the future. I downloaded the newest Django 1.10.4 version. Using that version created an allowed hosts error. So to keep things simple I reverted to the versions you used in the youtube video (v1.9) and everything worked great. How do I upgrade in the future without losing my work or restart a new project with the newer Django version without disappearing into the depths of programming? Any advice or direction to help me learn is appreciated.



You must be logged in to post. Please login or register an account.



Typically, this can indeed be a headache, and is indeed why larger organizations typically use vastly outdated products and services. Since you are starting from scratch, however, I would recommend researching any issues you might have as you go, while you attempt to use the latest version possible. Chances are, you are not alone in your woes, and possibly there's a solution online.

In your case, it looks like you need to add in something like: https://docs.djangoproject.com/en/1.10/ref/settings/#allowed-hosts, where you give the possible allowed hosts that can actually serve your site.

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.


Harrison, thank you for your help. I am finally understanding a little of the world of coding. Every time I complete the modules I am doing a little jig, it is all very exciting! Please keep up the great work educating us newbies.

-chilink52 8 years ago

You must be logged in to post. Please login or register an account.