Ah, after a second look, yes you are right, it was a transcription error
with the number of parenthesis. Apologies for the confusion! I've attached
the model admin. The Django version is:
>>> import django
>>> django.VERSION
(1, 5, 0, 'rc', 1)
-- Dylan
On Thu, Jan 31, 2013 at 2:04 AM, Ian Kelly <[email protected]> wrote:
> On Wed, Jan 30, 2013 at 10:10 PM, Dylan Klomparens
> <[email protected]> wrote:
> > It's interesting this seems to work with 10g XE. I am not sure if this is
> > relevant, but I am using the Full Oracle Client with Administrative Tools
> > (as oppose to the Oracle Instant Client) and cx_Oracle for Python access
> to
> > the database. The error I felt was most problematic is that the SQL
> > statement has 4 opening parenthesis, and only 3 closing parenthesis. This
> > kind of statement work in Oracle 10g XE?
>
> I noticed that also, but I thought that perhaps it was a transcription
> error, since you said it works with sqlite3. The Oracle version
> should not make any difference for this query. More likely I just
> didn't hit the same query. What version of Django are you using?
> Also it might help if you posted your ModelAdmin, in case that's
> affecting the query. My test used a default ModelAdmin.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers?hl=en
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
class ActivityHistoryAdmin(admin.ModelAdmin):
list_display = ('__str__', 'content_type', 'object_id', 'action',
'date', 'authorizer')
date_hierarchy = 'date'
admin.site.register(ActivityHistory, ActivityHistoryAdmin)