Scenario: You want to install Python 3.6+ on MacOS Sierra (or other MacOS versions running older Python versions) using a virtual environment. Here's the order we're going to go about things: Install Python3 Create a virtual environment using venv Install Django in the virtual environment Install Python3 It is not a good idea to upgrade your mac to Python3. Instead, you can install Python3 as an app. It will update your shell so when you invoke python3 in the terminal it will … [Read more...] about Installing the latest version of Django and running Python3 in a virtual environment on Mac
There's no faster way to share and manage snippets of code than Gist. gist.github.com has all the functionality of the github.com. It gives you a quick URL for your work and allows others to fork just as easily as a github project. From gist.github.com: Gist is a simple way to share snippets and pastes with others. All gists are Git repositories, so they are automatically versioned, forkable and usable from Git. For example, a you can quickly and cleanly create a little bit (or a lot) of … [Read more...] about Sharing some snippets of code? Try gist.github.com
So you're working through creating some models and you attempt to make migrations when you're done but you get the following error or something similar: [crayon-5c7028688ec2f926293517/] This error can happen with any number of attributes. You'll get this error when the attribute you are trying to use is not spelled correctly. Keep in mind the attributes are Case Sensitive! In my case, I forgot to update the F in CharField. I ran the migrations again with the following code and it worked just … [Read more...] about Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’
You can download the new release here: http://dl.armtc.net/RPi-TC/RPiTC-2_r1.1.img.zip Here's a direct link to the post about the release: http://rpitc.blogspot.com/2015/04/rpi-tc-2-release-11-available.html I'm very excited to test some of the new features. If you've read some of my previous posts, you'll see we were working to build a Citrix Receiver thin client using the Raspberry Pi 2 capable of booting straight into Receiver where the only thing the customer has to enter is the … [Read more...] about Raspberry Pi 2 RPiTC 2 r1.1 is out!
Years ago I got into Python just a little bit. I know PHP very well and because I wanted to stay in web app development, learning Python seemed like the next logical step. Python is awesome, very learner friendly. Libraries are extensive and can get a lot done for you. With my PHP knowledge and my in depth understanding of servers, it was very easy for me to build out a dev environment to play around with. At first I was using a WAMP install, but eventually put my work on a linux VPS within my … [Read more...] about Lose your LAMP, MAMP, or WAMP dev environments and start using Koding