Category: Databases

Django – making changes to a model

Django – making changes to a model

Unless you get your model/database structure spot on first time, you’ll want to change it. Here is how to keep the database in line with your Django models Make a change to your model....

Django – create your first model

Django – create your first model

In Django, a “model” is a Python class which turns database entities into objects. You create the class, and then use it to build the database tables and to add/edit/delete database entities. Here is a...

Django with MySQL

Django with MySQL

After PostgreSQL, MySQL is probably the most popular DBMS (database management system) used with Django. Here is how I set it up Install MySQL, etc Use the Software Manager to install mysql-server (write down...