from django.contrib.auth.models import User
from qsort.models import Program, Package, Votes

def run():
    users = User.objects.exclude(username="admin")
    packages = Package.objects.all()
    for user in users:
        for package in packages:
            Votes.objects.get_or_create(user=user, package=package, defaults={'votes': 0})
2343053ea857409e182406364ea426e73b218c15
<mask token>

<mask token>


def run():
    users = User.objects.exclude(username='admin')
    packages = Package.objects.all()
    for user in users:
        for package in packages:
            Votes.objects.get_or_create(user=user, package=package,
                defaults={'votes': 0})

from django.contrib.auth.models import User
from qsort.models import Program, Package, Votes


def run():
    users = User.objects.exclude(username='admin')
    packages = Package.objects.all()
    for user in users:
        for package in packages:
            Votes.objects.get_or_create(user=user, package=package,
                defaults={'votes': 0})

from django.contrib.auth.models import User
from qsort.models import Program, Package, Votes

def run():
    users = User.objects.exclude(username="admin")
    packages = Package.objects.all()
    for user in users:
        for package in packages:
            Votes.objects.get_or_create(user=user, package=package, defaults={'votes': 0})