2008-3-10

23:54 AzMoo
Magus-: No, but I want the value.
23:54 Magus-
and something stops you from reading request.POST?
23:54 AzMoo
Magus-: security?
23:54 Magus-
?
23:54 Magus-
post is post
23:54 Magus-
putting it in the form won't do dick
23:55 Magus-
at least not for security
23:55 AzMoo
Well it's not run through the filters that make cleaned_data
23:55 andre_pl
ok, I've got apache and mod_python working w/ django. but I'm kind of confused about the media-url settings.
23:55 AzMoo
so anybody can submit any value as long as it's the same name.
23:55 andre_pl
should I run a separate http server like lighty?
23:55 salkot
AzMoo, clean it in the view
23:55 wmealing ndos
23:55 wmealing
morning
23:56 Magus-
AzMoo: well I would hope you're testing a limited set of values for a button
23:56 Magus-
so it shouldn't matter if someone changes it
23:56 Magus-
like a 'save and continue' versus 'save' in admin
23:56 AzMoo
I suppose you're right there.
23:56 salkot
<input type="submit" name="query" value="select * from auth_user">
23:56 AzMoo
Force of habit I guess. Clean all submitted data.
23:57 Magus-
there just isn't much to clean :)
23:57 Magus-
if button_val = 'save': do this, else: do that
23:57 AzMoo
OK, I will do that. ta.
Page 25 of 25   ← Previous  (2,423 total)