datatracker/ietf/name/factories.py
Robert Sparks 852f9d90b9
feat: move IAB appeals into the datatracker (#6229)
* feat: basic models for appeals

* fix: modify appeal model to point to group

* fix: explicit date on Appeal objects

* feat: appeals importing management command

* feat: display appeals

* feat: admin for appeals

* fix: limit admin contentype choices

* feat: tastypie resources

* feat: factories and tests

* chore: update group migration

* fix: remove charset from pdf content type

* test: unittest download_name

* fix: admin for new name
2023-08-29 14:07:30 -05:00

14 lines
315 B
Python

# Copyright The IETF Trust 2023, All Rights Reserved
# -*- coding: utf-8 -*-
import factory
from .models import (
AppealArtifactTypeName,
)
class AppealArtifactTypeNameFactory(factory.django.DjangoModelFactory):
class Meta:
model = AppealArtifactTypeName
django_get_or_create = ("slug",)