Heh, whoops.
So I'm reading in all the information about a machine from a file that
is generated periodically on the machine (XML right now). I need to
compare all the data about that machine to what's currently in the
database, and create a new entry if anything has changed.
The models are re
You'll first have to explain what you mean by 'reading from a file'
and 'comparing'.
Are we comparing against serialized model exports? Is the user
importing data from a csv file? What column(s) is(are) you using as
keys for matching db objects against the file?
Give us a little more details and
So I'm working on my first Django application, and I've run into a
stumbling block. In simplest terms, I've got two objects:
def Package(models.Model):
name=models.CharField(max_length=255)
version=models.CharField(max_length=128)
def Machine(models.Model):
hostname=models.CharField(
3 matches
Mail list logo