title: Django Models and Serial Ports
body: <p>I am playing around with using Django and a few arduinos.  From my models.py I have</p>
  
  <pre><code>class Arduino(models.Model):
      ...
      address = models.CharField(max_length=100)
      ...
  </code></pre>
  
  <p>I am wondering if it is possible for 'address' to have an auto-generated choice-tuple from a script (or if this is even the right approach).</p>
  
  <p>I was having a few arduinos around the house connected to a django server for sensor monitoring.  I can of course put the address in by hand but I am trying to learn more about Django and programming in general.</p>
  
  <p>Simple app with configuration of arduinos done through the admin interface</p>
  
  <p>Thanks for any assistance</p>