1. Django fully supports non-integer primary keys.
2. Many relational db classes teach that non-natural primary keys are bad
3. There are many other legitimate reasons for choosing non-integer
primary keys. (legacy schema, GUIDs etc.)
therefore:
People are always going to develop apps with non-integer primary keys.
These would be excluded if you dropped support for them from
Reversion.
> --
> You received this message because you are subscribed to the Google Groups
> "Django Reversion Discussion" group.
> To post to this group, send an email to django-r...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-reversi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-reversion?hl=en-GB.
>
I think the problem lies in not following Django's lead.
Agree or not, that's the design decision embedded in Django and if you
don't follow it then you'll be incompatible with an unknown number of
Django apps.
So I suppose the question is - how many apps don't use integer keys?
--
Aren't there situations where adding an integer key would change the
behaviour of 3rd party apps?
--
You received this message because you are subscribed to the Google Groups "Django Reversion Discussion" group.
To post to this group, send an email to django-r...@googlegroups.com.
To unsubscribe from this group, send email to django-reversi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-reversion?hl=en-GB.
Could you have a fast code path that covers the majority of apps that
DO have integer primary keys? I know it's an added coding burden but
it looks like it's a case of "performance, simplicity, compatibility:
pick any two..."