On Wednesday, June 20, 2012 1:38:45 PM UTC-6, André Pang wrote: > > 1. In Oracle's case, what if you have a model with a primary key that's > a CharField? I suspect that Oracle backend will coerce that to be > null=True, so now you have a primary key field that could have NULL. >
Primary keys are an exceptions. The backend doesn't try to make them nullable, and the database wouldn't accept that as valid DDL anyway. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/iw79PrC-CZsJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.