Skip to content
Snippets Groups Projects
Unverified Commit 4b8bbd3c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Move choices to model.

parent 59d270f9
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,13 @@ from django.contrib.auth.models import AbstractUser
from django.db import models
from django.utils.translation import gettext_lazy as _
SEX_CHOICES = [
('f', _('female')),
('m', _('male'))
]
class Person(AbstractUser):
SEX_CHOICES = [
('f', _('female')),
('m', _('male'))
]
additional_name = models.CharField(max_length=30, blank=True)
street = models.CharField(max_length=30, blank=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment