title: I am trying to implement a choices option in models.py Countries to be selectable by user but I not able to display it properly
body: <p>Following the example provided in Neomodel documentation I am not able to display choices in my form.</p>
  
  <pre><code>class Person(StructuredNode):
      SEXES = {'F': 'Female', 'M': 'Male', 'O': 'Other'}
      sex = StringProperty(required=True, choices=SEXES)
  </code></pre>
  
  <p>by using this example I get an error when Django is executed.</p>
  
  <pre><code>packages/django_neomodel/__init__.py", line 122, in get_choices
      for choice, __ in choices:
  ValueError: not enough values to unpack (expected 2, got 1)
  </code></pre>
  
  <p>Modifying the SEXES and specifying 'FF', 'MM' etc will allow the server to run but values appear as</p>
  
  <pre><code>&lt;option value="F"&gt;F&lt;/option&gt;
  &lt;option value="M"&gt;M&lt;/option&gt;
  &lt;option value="O"&gt;O&lt;/option&gt;
  </code></pre>
  
  <p>I have used the following code in models.</p>
  
  <pre><code>COUNTRY_CODE1=[('AF', 'Afghanistan (+93)'), ('AL', 'Albania (+355)'), ('DZ', 'Algeria')]
  ...
  ind_nationality = StringProperty(max_length=2,choices=COUNTRY_CODE1,label='Nationality')
  </code></pre>
  
  <p>When this is populated in a browser the following is generated.</p>
  
  <pre><code>&lt;option value="A"&gt;F&lt;/option&gt;
  &lt;option value="A"&gt;L&lt;/option&gt;
  &lt;option value="D"&gt;Z&lt;/option&gt;
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>class Person(DjangoNode):
      uid_person = UniqueIdProperty()
      ind_name = StringProperty(max_length=100 , label='Enter your First Name')
      ind_last_name = StringProperty(max_length=100,null=True, label='Last Name')
      ind_nationality = StringProperty(max_length=2,choices=COUNTRY_CODE1,label='Nationality')
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>class PersonRegForm (ModelForm):
      class Meta:
          model=Person
          fields = ['ind_name','ind_last_name', 'ind_nationality']
          widgets = {
  
              'ind_name' : forms.TextInput(attrs={'size':50}),
              'ind_last_name' : forms.TextInput(attrs={'size':50}),
              'ind_nationality' : forms.Select(),
  
          }
          app_label = 'reg'
  
  
  
  class PersonRegView(generic.FormView):
      template_name='reg/personreg.html'
      form_class=PersonRegForm
      success_url = 'index'
  </code></pre>
  
  <p>I am expecting the following result</p>
  
  <pre><code>&lt;option value="AF"&gt;&lt;/option&gt;
  </code></pre>