title: django form to python script
body: <p>I would like to know how to get the web user response (in model.charfield) and turn it into a python script variable. For example:</p>
  
  <p><strong>In subimit/models.py:</strong></p>
  
  <pre><code>from django.db import models
  from django.forms import ModelForm
  
  my_choices1 = [(1, "bcc (default)"), (2, "gasteiger"), (5, "user")]
  my_choices2 = [(1, "GAFF (default)"), (2, "AMBER")]
  
  class Submition(models.Model):
          charge_method = models.CharField(choices=my_choices1, max_length=20, blank=False, default=1)
          net_charge = models.IntegerField(blank=False, default=1)
          multiplicity = models.IntegerField(blank=False, default=1)
          atom_type = models.CharField(choices=my_choices2, max_length=20, blank=False, default=1)
  </code></pre>
  
  <p><strong>In python script:</strong></p>
  
  <pre><code>from submit.models import Submition
  
  def run():
      a = Submition.objects
  </code></pre>