Malcolm thanks very much.  This is a great idea:

> You can't change the underlying data type for the automatically
> generated primary key without changing Django's source.
>
> So your choices are either to write a custom field or, more easily,
> manually alter the type of the primary key column after the table has
> been created 
> (seehttp://www.djangoproject.com/documentation/model-api/#providing-initi...).

I knew about being able to populate the database using the method that
you linked to but never even considered  using that very same method
to customize the schema.   Just wonderful!

--gordon


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to