Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvments for widgets #15

Open
hamit3 opened this issue Mar 21, 2024 · 0 comments
Open

improvments for widgets #15

hamit3 opened this issue Mar 21, 2024 · 0 comments

Comments

@hamit3
Copy link

hamit3 commented Mar 21, 2024

Choices option is not working, you can check below:

TRAINING_TYPE_CHOICES = (
    (TRAINING, 'TRAINING'),
    (MATCH, 'MATCH'),
    (REGENERATION, 'REGENERATION'),
    (REHABILITATION, 'REHABILITATION'),
    (OTHER, 'OTHER'),
)

training_type = models.PositiveSmallIntegerField(choices=TRAINING_TYPE_CHOICES, default=1, null=False, blank=False)

DataField and TimeField Widget Problem. Widgets are wrong (date widget in time input)

training_date = models.DateField(null=True, blank=True, default='2020-05-21')
start_time = models.TimeField(null=True, blank=True, default='00:00:')
end_time = models.TimeField(null=True, blank=True, default='00:00:')

bug_datatb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant