DevOps – intro
If I understand it correctly (it looks like the jury is still out), a DevOp is someone who helps developers be more productive by giving them the tools they need. As a freelance developer,...
If I understand it correctly (it looks like the jury is still out), a DevOp is someone who helps developers be more productive by giving them the tools they need. As a freelance developer,...
I used Duolingo regularly for a couple of months. It was good fun, so why did I stop? What is DuoLingo? As the Duolingo website says “Learn languages completely free, without ads or hidden...
I’m playing around with some ideas for language games. Looking for free dictionaries I found the following: http://www.dicts.info/uddl.php – “From this page you can download hundreds of different bilingual dictionaries for any combination of...
A while ago I installed a SSD in my development machine and made it the main drive when I installed Linux Mint (17). The 1TB hard disk now gets recognised by Linux Mint, in...
Test Driven Development (TDD) is a methodology for developing programs where you first write the test, and then write just enough code to make your program pass all tests TDD makes it far less...
Here is how go set up Django to work with PostgreSQL Install necessary libraries, etc sudo apt-get install libpq-dev sudo apt-get install python-dev sudo apt-get install postgresql-contrib Create a new database and user sudo...
PostgreSQL seems to be the most popular DBMS (database management system) with Django developers, although MySQL is also used a lot To install PostgreSQL, I used Linux Mint’s Software Manager (search for “postgresql”) I also...
From https://docs.djangoproject.com/en/dev/howto/static-files/: For a production site you probably want to configure the server to serve static files directly, without going through Django. For a test site, you can use the following approach In settings.py,...
Instead of using Python to create all the HTML, Django can load and render templates In settings.py specify the location of the templates, e.g. TEMPLATE_DIRS = [ os.path.join(BASE_DIR, ‘templates’), ] Create the folder within...
If you’ve followed the steps in the previous blog posts, you should have your first basic Django project up and running. You’ll also have various bits and pieces already installed, ready for your next...