Hi, all!
For the life of me I can't get anything to show up in a drop-down.
Here's the model:
class States(models.Model):
id = models.IntegerField(unique = True, primary_key = True)
abbrev = models.CharField(max_length = 2, blank = False)
long_form = models.CharField(max_
yset=States.objects.all())
>
> form = AddressForm()
> return render_to_response('subscribe_step2.html',
> { 'form' : form,
> 'user_account' : user_account })
>
> On Apr 17, 5:34 pm, amyhalf wrote:
>
>
>
>
>
> > Hi, all!
>
> > F
For the life of me I can't get Django to render even the simplest of
HTML boxes.
Here's a recent example that I have which I cannot get to work.
This is the form:
class CreditCardForm(forms.Form):
fullname = forms.CharField(128, 1, required = True)
mm_expiry = forms.ChoiceField(
3 matches
Mail list logo