File: models.py

package info (click to toggle)
pytest-django 4.11.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 604 kB
  • sloc: python: 4,006; makefile: 39; sh: 17
file content (11 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from django.db import models


# Routed to database "main".
class Item(models.Model):
    name: str = models.CharField(max_length=100)


# Routed to database "second".
class SecondItem(models.Model):
    name: str = models.CharField(max_length=100)