GitNexus/gitnexus/test/fixtures/lang-resolution/python-django-app-imports/billing/models.py

9 lines
253 B
Python

from django.db import models
from accounts.models import Customer
class Invoice(models.Model):
customer = models.ForeignKey(
Customer, on_delete=models.CASCADE, related_name="invoices"
)
total_cents = models.PositiveIntegerField()