Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

overriding indexes on subclasses #18

Closed Jaymon closed 8 years ago

Jaymon commented 8 years ago

This should be supported


class Parent(prom.Orm):
    index_foo = prom.Index("foo")

class Child(Parent):
    index_foo = None

The Child class should be able to set indexes to None that it doesn't want to use.