On Mon, Oct 1, 2012 at 4:58 PM, Babatunde Akinyanmi
wrote:
> Oooops. I see the question has already been answered. My phone didn't
> get the update on time.
No worries, Thanks anyways
> On 10/1/12, Babatunde Akinyanmi wrote:
>> Its possible that when you refresh the form and the POST request get
Oooops. I see the question has already been answered. My phone didn't
get the update on time.
On 10/1/12, Babatunde Akinyanmi wrote:
> Its possible that when you refresh the form and the POST request gets
> submitted, the form doesn't pass the form.is_valid() if conditional.
> In your code, you d
Its possible that when you refresh the form and the POST request gets
submitted, the form doesn't pass the form.is_valid() if conditional.
In your code, you didn't make any provision for when the form fails
the is_valid() test and from your code, execution stops once
is_valid() returns False so I *
On Mon, Oct 1, 2012 at 12:11 PM, Satinderpal Singh
wrote:
> On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans wrote:
>> On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh
>> wrote:
> I add the following to my code,
>>> I made a model form and a view which accepts input as a form and
>>> display it in th
On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans wrote:
> On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh
> wrote:
I add the following to my code,
>> I made a model form and a view which accepts input as a form and
>> display it in the html format. As when i refresh the html page or try
>> to fill an
On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh
wrote:
> I made a model form and a view which accepts input as a form and
> display it in the html format. As when i refresh the html page or try
> to fill another entry in the form, it gives the following error:
>
> The view Automation.report.vie
On Tue, 2008-12-16 at 23:23 -0800, oops wrote:
> def OrderPlacedView(request):
> form = OrderPlaceForm()
> try:
> print "try"
> print request.POST
> #brand = BrandName.objects.get(pk=request.POST['brand'])
> except:
> print"nothing"
> return ren
On Dec 17, 2008, at 3:23 PM, oops wrote:
>
> def OrderPlacedView(request):
>form = OrderPlaceForm()
>try:
>print "try"
>print request.POST
>#brand = BrandName.objects.get(pk=request.POST['brand'])
>except:
>print"nothing"
>return render_to_resp
8 matches
Mail list logo