Actually I was referring to my action in views.py to get the Category
objects:

from activity_codes.models import * (this is the auto-generated
models.py)

def home(request):
    categories = Categories.objects.all()
    return render_to_response('test.html', {'categories' :
categories})



On Feb 20, 3:34 pm, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> On Feb 20, 2:25 pm, Brandon Taylor <btaylordes...@gmail.com> wrote:
>
> > however attempting to retrieve the Category objects from a view
> > results in:
> > DatabaseError: ORA-00942: table or view does not exist
>
> > Thoughts?
>
> You can definitely use views with Django (although inspectdb will
> blissfully ignore them).  We do that all the time.  Again, I'd need to
> see the models.py to understand what's going on.  Or it could be that
> the Django user has permissions on the table, but not on the view.
>
> Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to