fabiocaccamo / django-treenode

:deciduous_tree: probably the best abstract model/admin for your tree based stuff.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List of reserved field names

diek opened this issue · comments

I think it would be helpful to have list of reserved field names that should not be used, for example 'level' as I just discovered. Thanks for the library. Keep up the great work.

@diek you're right.

Initially properties was in an optional mixin to offer more backward compatibility with existing models.

After I moved the properties to the TreeNodeModel to remove an unnecessary configuration step. Do you think it would be nice to restore the optional mixin?

By the way, I will add a list of reserved keywords to the README.