I think I may have found the culprit (?), but I have no idea how to fix this. In my project folder, there is a file called sqlnet.log. Here's the last entry:
Fatal NI connect error 12505, connecting to: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP) (HOST=devportal2.dcs.its.utexas.edu)(PORT=1521))(CONNECT_DATA= (SID=viprt.dcs.its.utexas.edu)(CID=(PROGRAM=Python)(HOST=btaylor- MacBook.local)(USER=root)))) VERSION INFORMATION: TNS for MacOS X Server: Version 10.2.0.4.0 - Production TCP/IP NT Protocol Adapter for MacOS X Server: Version 10.2.0.4.0 - Production Time: 20-FEB-2009 14:00:59 Tracing not turned on. Tns error struct: ns main err code: 12564 TNS-12564: Message 12564 not found; No message file for product=network, facility=TNS ns secondary err code: 0 nt main err code: 0 nt secondary err code: 0 nt OS err code: 0 Check out the last value in the connection: USER=root When I start up my dev server, I usually override port 80 on my Mac, so I can just run at : localhost/ Shouldn't the USER parameter be the DATABASE_USER from settings.py? or am I smoking crack? b On Feb 20, 4:01 pm, Brandon Taylor <btaylordes...@gmail.com> wrote: > 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 -~----------~----~----~----~------~----~------~--~---