Narrow this down and you should be able to work through it.
First - is the view getting invoking correctly, regardless of what
newforms is doing? If you're running on a dev server instance (i.e.
django-admin runserver), then try printing out the request.POST or
request.GET in the view to see what
can somebody help me out of newform,i spend one whole day to study
djangosnipppets.com's newform, but it did not work for me.
models.py:
class Vendor(models.Model):
name = models.CharField(maxlength=100)
slug = models.SlugField()
class Type(models.Model):
vendor = model
2 matches
Mail list logo