Davide Muzzarelli

Gestire i file di configurazione con SVN

pubblicato it 11.11.2006 in * livello avanzato, sviluppo software

I progetti software hanno quasi sempre uno o più file di configurazione che sono personalizzati in base al contesto. Ogni sviluppatore può avere un file di configurazione personale e anche i server di test e di produzione ne hanno uno creato apposta. Avendo un sistema di repository, come Subversion (aka: SNV), i file di configurazione [...]

Create an image model for your photos in Django with multiple categories

pubblicato it 18.07.2006 in # in english, * livello avanzato, django, python

I write this post because Django documentation is not exhaustive for the ImageField. Create an application in your project with: $ python manager.py startapp photos You can use what application name you like. Then create the directory “photos” in your media directory. Enter in the application directory and edit the models.py file: from django.db import [...]