radjan / petsfaq

Pets FAQ
2 stars 0 forks source link

[Backend] Separate roles polymodel inheritance #15

Closed radjan closed 11 years ago

radjan commented 11 years ago

currently Vet, Eemployee, Admin are subclasses on Role. This makes the roles are mixed together in reference object from google datastore. e.g. hospital.admins = [Admin, Employee, Vet]

radjan commented 11 years ago

I consider this is a limitation of gae datastore. So I am not going to fix it by changing the model. Create #19 for it.