First, you need a model to store the data in the database.
Then, you can use a CreateView as explained at [1].
You should have something like that at the end.
models.py:
from django.db import models
class User(models.Model):
name = models.CharField(max_length=128)
newsletter = models.Bool
Hello,
I want to create a form to apply in, this form will contain fields for
name, surname, e-mail, text area and also i want it to contain
checkbox-es. Data that will be inserted in those areas to be saved in db.
How can i come up with this?
--
You received this message because you are s
2 matches
Mail list logo