No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 373B

  1. from django.db.models.signals import post_syncdb
  2. from import commands, call_command
  3. import django.contrib.auth
  4. def createPluginGroup(sender, app, created_models, **kwargs):
  5. if django.contrib.auth.models.Group in created_models:
  6. call_command("loaddata", "group_plugin")
  7. post_syncdb.connect(createPluginGroup, sender=django.contrib.auth.models)