<filename>osf/models/region_external_account.py
# -*- coding: utf-8 -*-
from django.db import models

from osf.models.base import BaseModel
from addons.osfstorage.models import Region


class RegionExternalAccount(BaseModel):
    external_account = models.ForeignKey('ExternalAccount', on_delete=models.CASCADE, null=False)
    region = models.ForeignKey(Region, on_delete=models.CASCADE, null=False)

<filename>osf/models/region_external_account.py
# -*- coding: utf-8 -*-
from django.db import models

from osf.models.base import BaseModel
from addons.osfstorage.models import Region


class RegionExternalAccount(BaseModel):
    external_account = models.ForeignKey('ExternalAccount', on_delete=models.CASCADE, null=False)
    region = models.ForeignKey(Region, on_delete=models.CASCADE, null=False)

# -*- coding: utf-8 -*-