What is the right way to create custom pgsql types for django application so that each time database is created with syncdb, all custom types are created prior to creating any tables (so that tables can use this type)?
I also use django-evolution, but that's not an appropriate solution — it runs after syncdb. I can imagine doing a workaround like defining models with standard field types and then creating types and altering column types in evolutions, but that's definitely not nice and sort of obscure...
Any idea?