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. 353B

  1. from django.db.models.signals import post_syncdb
  2. from import commands, call_command
  3. import buyable.models
  4. def createBuyableTypes(sender, app, created_models, **kwargs):
  5. if buyable.models.BuyableType in created_models:
  6. call_command("loaddata", "buyable_types")
  7. post_syncdb.connect(createBuyableTypes, sender=buyable.models)