addons-server/migrations/424-restricted-group.py

6 строки
119 B
Python
Исходник Обычный вид История

from access.models import Group
def run():
Group.objects.create(name='Restricted Users', rules='Restricted:UGC')