#399: Bigint field object needed
---------------------------------------------------+------------------------
Reporter: [email protected] | Owner: permon
Status: assigned | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
sprintsept14, bigint
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
---------------------------------------------------+------------------------
Comment (by fnl):
I created a fix for this problem which should work with Oracle and
definitely works with PSQL and MySQL. It uses a new BigIntegerField,
BigAutoField, and BigForeignKey field because they are all hardcoded to
use the AUTO_INCREMENT feature of the databases. Would be nice if somebody
could check out the code and comment if it works for Oracle, too.
link: [http://www.djangosnippets.org/snippets/1244/]
--
Ticket URL: <http://code.djangoproject.com/ticket/399#comment:45>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---