Files
django-htmx-presenatation/project/main/models/post_office.py
Eden Kirin 929e16e2ec Models
2024-04-10 22:04:10 +02:00

11 lines
225 B
Python

from django.db import models
class PostOffice(models.Model):
zip = models.PositiveIntegerField()
name = models.CharField(max_length=100)
class Meta:
db_table = "post_offices"
ordering = ["zip"]