forked from uncloud/uncloud
992c7c551e
- For easier handling (foreignkeys, many2many) - For higher flexibility (users can define their own periods)
11 lines
308 B
Python
11 lines
308 B
Python
from django.core.management.base import BaseCommand
|
|
from uncloud_pay.models import RecurringPeriod
|
|
|
|
class Command(BaseCommand):
|
|
help = 'Add standard uncloud values'
|
|
|
|
def add_arguments(self, parser):
|
|
pass
|
|
|
|
def handle(self, *args, **options):
|
|
RecurringPeriod.populate_db_defaults()
|