SOLVED: (sort of)
I am not sure if this is the only or best way to solve the problem. But,
since I needed to use get_context_data() in the view anyway. I am now doing
this to get ct_id into the view template:
def get_context_data(self,**kwargs):
context = super(DvStringUpdateView, self).get_
BTW:
In the actual code the ct_id field is quaoted correctly. It was just an
error in my post here.
fields =['published','prj_name','data_name','ct_id',]
On Mon, Jan 20, 2014 at 7:03 PM, Timothy W. Cook wrote:
>
> I have a web application where I use a couple of UUIDFields. In the Admin
> U
I have a web application where I use a couple of UUIDFields. In the Admin
UI, in function based views and other Python code, these fields work as
expected. However, when trying to list them in the 'fields' in a CBV, I get
the error:
FieldError(message) django.core.exceptions.FieldError: Unknown fi
3 matches
Mail list logo