I like this solution:
http://code.djangoproject.com/wiki/CookBookManipulatorWithPostpopulatedFields
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
Your right, I don't deny that I am still a noob at this, I know there
is probably a better way out there and I just can't see how to do
that. is there anyway I can see your model and your manipulator class?
--~--~-~--~~~---~--~~
You received this message because yo
Hit me (not too hard) if I'm wrong, but hiding fields is not
the prettiest way to change the behaviour of the manipulator,
because:
- it could bring security issues (someone hacking the HTML
form to include hidden fields in it, which will be taken into
account when the manipulator eats the POSTed
On 8/15/06, mediumgrade <[EMAIL PROTECTED]> wrote:
> It's for a simple RSVP app I'm writing. My problem is that I want to
> present someone with a for which only updates the RSVP status. I was
> trying to use an update manipulator, but it appears as though the
> manipulator is requiring that I upd
The way I get arournd this is to make all the other parts of the form hidden.
--~--~-~--~~~---~--~~
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
T
So, I have a model which looks like this:
STATUS_TYPES = (
(1, 'Attending'),
(2, 'Not Attending'),
(3, 'Tentatively Attending'),
(4, 'Tentatively Not Attending'),
(5, 'No response'),
)
class Recipient(models.Model):
name = models.CharField(maxlength=50)
persons = mode
6 matches
Mail list logo