On 12/9/05, braver <[EMAIL PROTECTED]> wrote: > unique_together = (("key","date",...),) > > Is it the way? It creates proper SQL. What about indexes on several > columns?
Yes, that's the way to do multiple unique fields. There's no way to do indexes across several columns -- you can do that yourself by creating the indexes after the tables are created. > Now, I'm going to load tons of logs into the database. I want python > objects to look at them, but the loader should be very fast. Is > loading the database directly according to the schema enough for Django > -- i.e., there's nothing else, or does it keep more secret stuff > somewhere? I'm not sure what you're asking here... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org