country.py 167 Bytes
Newer Older
1
2
from django.db import models

Florent Chehab's avatar
Florent Chehab committed
3

4
class Country(models.Model):
5
    name = models.CharField(max_length=200)
Florent Chehab's avatar
Florent Chehab committed
6
    iso_code = models.CharField(primary_key=True, max_length=2)