This is my model:

    from django.db import models
    
    class Meeting(models.Model):
        name = models.CharField(max_length=255)
        time = models.DateTimeField()
        confirmed = models.BooleanField(default=False)

This is my form:

    from django import forms
    
    class MeetingForm(forms.Form):
        name = forms.CharField(max_length=100)
        time = forms.DateTimeField()
        user_name = forms.CharField(max_length=100)
        user_email = forms.EmailField()

How to create a view that send a mail to user with link and when user 
clicks on this link confrimed field will change value to true?

Link is my biggest problem.



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/01tWYQEuJ9IJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to