File: feed.py

package info (click to toggle)
django-dbbackup 4.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 512 kB
  • sloc: python: 3,767; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from django.core.management.base import BaseCommand

from dbbackup.tests.testapp.models import CharModel


class Command(BaseCommand):
    help = "Count things"

    def handle(self, **options):
        for st in "abcde":
            CharModel.objects.create(field=st)