Re: UUIDField from django-extensions is not available in Class Based Views

2014-01-21 Thread Timothy W. Cook
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_

Re: UUIDField from django-extensions is not available in Class Based Views

2014-01-20 Thread Timothy W. Cook
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

UUIDField from django-extensions is not available in Class Based Views

2014-01-20 Thread Timothy W. Cook
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