File: models.py

package info (click to toggle)
python-django-swapper 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 164 kB
  • sloc: python: 239; sh: 9; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from django.db import models

from tests.default_app.models import BaseType


class Type(BaseType):
    code = models.SlugField()

    class Meta:
        app_label = 'alt_app'