~james-w/udd/management-commands

« back to all changes in this revision

Viewing changes to udd/foreach/management/commands/add_import_jobs.py

  • Committer: James Westby
  • Date: 2011-12-10 03:10:36 UTC
  • Revision ID: james.westby@canonical.com-20111210031036-gjaa64744wifb1dp
Add management commands for the things that touch the db.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.core.management.base import BaseCommand
 
2
from udd.scripts.add_import_jobs import main
 
3
 
 
4
 
 
5
class Command(BaseCommand):
 
6
 
 
7
    def handle(self, *args, **opts):
 
8
        return main()