eregs / regulations-core

An engine that supplies the API that allows users to read regulations and their various layers.
Creative Commons Zero v1.0 Universal
17 stars 27 forks source link

Add `lft` attribute to Django model #54

Closed vrajmohan closed 8 years ago

vrajmohan commented 8 years ago

This attribute can be used to sort tree nodes in pre order. Consequently, we do not need the preorder_idx field in the JSON schema.

cmc333333 commented 8 years ago

A few test failures, but looks good.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 83.887% when pulling c4920477c25df0c46bf6fbbefb889992585e0e97 on vrajmohan:use-left-attribute into 484b06cbd4268f4668e8600caa35083e69213c55 on eregs:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.009%) to 83.878% when pulling d2a98b4a951050b3d41eea00934e11e2a7ad25a5 on vrajmohan:use-left-attribute into 484b06cbd4268f4668e8600caa35083e69213c55 on eregs:master.

cmc333333 commented 8 years ago

Parser was updated in eregs/regulations-parser#259