Hi Shawn!

Thanks for the clue.  I commented out the following in oracle/base.py 
DatabaseOperations.quote_name and can get some tables showing up in the 
admin view now. ( More issues of course, but I believe them to be separate. 
)

        # if not name.startswith('"') and not name.endswith('"'):
        #     name = '"%s"' % util.truncate_name(name.upper(),
        #                                        self.max_name_length())

I'm guessing this may not be the final best way to work around it, but I 
can keep prototyping and hacking my app now.  Hopefully someone ORM 
experienced will chip in.

Until then, thanks much!  :)

Steve

On Tuesday, March 5, 2013 4:32:44 PM UTC-5, Shawn Milochik wrote:
>
> I'm taking a look at this as someone pretty unfamiliar with the ORM. 
> Hopefully someone more knowledgeable will jump in. 
>
> However, in the meantime (if you're feeling adventurous), you could 
> look in django/db/backends/oracle/base.py and have a look at function 
> quote_name. A naive look at it makes me think you could just put 
> "return name" at the top and short-circuit it. Ideally we could find 
> an easy way to override it in a custom manager that you can use in 
> your models, but first let me know if a manual change to that file 
> causes the behavior you want. 
>
> No warranty! ^_^ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to