-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> At a very high level, I have an application, which holds many
> organisations, and these organisations each contain many products. I
> may need to at times, partition the product data, so that some
> organisation products are stored in table 'a' and others are stored in
> table 'b'. However the Product as a model class is the same between
> both of these, and I won't know the names of these tables until
> runtime (they may be based on organisation names, which would be
> created by users).

You're looking at it the wrong way. Partition on an index instead,  
e.g. product.organization.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkg/LMcACgkQXnZ94Kd6KafpPACghyB1plXw3hTOyKO/isBOljel
46kAoI8zx1meESxRjAiDbwhBWnMEhhbe
=DAd+
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkg/6ZsACgkQXnZ94Kd6Kad5qACgmYGG5GaSMRfPgSvvlLJH42C4
pm4AoLJdjq5excit+yPpNf7/uKI9fw6H
=iOIN
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to