maraujop/django-rules — pull request #11 by lodatol (2012-07-06 12:38:39+00:00)
Title: defining new permission through decorator and registered lazly

Hi,
I have implemented a small decorator that permit to lazly register (and definition) a new permission.
Lazy I mean that only when it was used the first time the permission will be stored.
Moreover now you can define a new permission through a decorator.
Obviously everything have complete backward compatibility and both configuration can coexist (I mean rules.py and decorator together).

Bye,
Lodato