A related problem is that I'd like to use the test client to verify
that when there's an error in the field the input field in the
response is populated with the original input.
So I'd like to do something like:
iteration = 'bad data'
response = self.client.post('/metrics/add/', {
On Dec 16, 4:49 pm, "James Bennett" wrote:
> On Tue, Dec 16, 2008 at 7:19 AM, sagi s wrote:
> > So I'm looking at the data available in the template to try to get my
> > hands dirty and restore all this manually but can't find how all this
> > magic works. I'm in the debugger looking at the fo
On Tue, Dec 16, 2008 at 7:19 AM, sagi s wrote:
> So I'm looking at the data available in the template to try to get my
> hands dirty and restore all this manually but can't find how all this
> magic works. I'm in the debugger looking at the form passed to the
> template via the context and this l
Maybe I'm missing something here but I've been struggling with some
basic forms customization issues.
I'm using ver. 1.0
I have created a simple model (Metric) and a form to go with it,
deriving from django.forms.ModelForm with the model set it the Meta as
per the examples.
Out-of-the-box the f
4 matches
Mail list logo