On Monday, 8 July 2013 10:36:57 UTC+1, Nigel Legg wrote:
> Thanks Daniel.
> Before trying that, I went nto the python shell, imported the DataTable
> model, and tried DataTable.objects.all(), and got the error:
> DatabaseError: no such column: myapp_datatable.datFile.
> I tried re-running syncd
bles.html', {
>> 'form': form,
>> })
>>
>> def tabspec(request):
>> try:
>> datFile = DataTable.datFile
>> context = Context({
>> 'datFile': datFile,
>> })
>> except Data
datFile = DataTable.datFile
> context = Context({
> 'datFile': datFile,
> })
> except DataTable.DoesNotExist:
> raise Http404
> return HttpResponse(template.render(context))
>
> The DataTable view shows, as a form; I enter t
s a form; I enter the values for the ields, when
I click the button, I get the error "type object 'DataTable' has no
attribute 'datFile'". I thought maybe I should be referring to
DataTableForm.datFile, but this gave the same error.
I am confused, could any one tell me wh
4 matches
Mail list logo