Hi everyone. I'm new to Django and I followed the tutorial to
understand its basic mechanisms. I really like it :-)

I have to let the user insert records in the DB by a web-form. I
described the datum with a simple model and I want to use a generic
view to collect all the attributes from the user and insert a record
in the DB, like the admin can simply do by the admin interface. I
couldn't find an example that explained me how to do.

Can someone help me, please ?

The model is nothing more complex than the class Poll you can find in
the tutorial

class Poll(models.Model):
    question = models.CharField(max_length=200)
    pub_date = models.DateTimeField('date published')


Thanks by advance
Maury

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to